anchor.diff:              0
       end,
       Map = orddict:store(Type, Current + Size, Map0),
  +    lager:info("~p", [Map]),
       {reply, ok, State#state{size_per_type=Map}};
  -
  -handle_call({start, Filename}, _From, #state{}=State) ->
  -    {ok, TRef} = start_timer(),
  -    _ = lager:info("Instrumentation timer enabled!"),
  -    {reply, ok, State#state{tref=TRef, clock=0,
  -                            filename=Filename, status=running,
  -                            size_per_type=orddict:new(), lines=[]}};
   
   handle_call(stop, _From, #state{lines=Lines0, clock=Clock0,
                                   size_per_type=Map,
  
positive.code: %% @private
  -spec init([term()]) -> {ok, #state{}}.
  init([]) ->
      Line = io_lib:format("Type,Seconds,MegaBytes\n", []),
      {ok, #state{lines=Line}}.
  
  %% @private
  -spec handle_call(term(), {pid(), term()}, #state{}) ->
      {reply, term(), #state{}}.
  
  handle_call({log, Type, Payload, PeerCount, _Node}, _From, #state{size_per_type=Map0}=State) ->
      Size = termsize(Payload) * PeerCount,
      Current = case orddict:find(Type, Map0) of
          {ok, Value} ->
  
negative.code: 
  -spec log(term(), term(), pos_integer(), node()) -> ok | error().
  log(Type, Payload, PeerCount, Node) ->
      lager:info("lasp_transmission_instrumentation:log"),
      gen_server:call({local, ?MODULE}, {log, Type, Payload, PeerCount, Node}, infinity).
  
  -spec stop() -> ok | error().
  stop() ->
  