anchor.diff:      msg_delay:send_local(FirstDelay, self(), {bench}),
       msg_delay:send_local(get_gather_interval(), self(), {propagate}),
       Now = os:timestamp(),
  -    #state{perf_rr = rrd:create(get_gather_interval() * 1000000, 60, {timing, us}, Now),
  -           perf_lh = rrd:create(get_gather_interval() * 1000000, 60, {timing, count}, Now)}.
  +    State = #state{perf_rr = rrd:create(get_gather_interval() * 1000000, 60, {timing, us}, Now),
  +                   perf_lh = rrd:create(get_gather_interval() * 1000000, 60, {timing, count}, Now)},
  +    {State, State}.
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   % Miscellaneous
  
positive.code:     comm:send_local(DHT_Node, {get_node_details, comm:this(), [my_range]}),
      State;
  
  on({get_node_details_response, NodeDetails} = _Msg, State) ->
      ?TRACE1(_Msg, State),
      case is_leader(node_details:get(NodeDetails, my_range)) of
          false -> State;
          _ ->
              % start a new timeslot and gather stats...
              NewRound = State#state.round + 1,
              Msg = {send_to_group_member, monitor_perf, {gather_stats, comm:this(), NewRound}},
              bulkowner:issue_bulk_owner(intervals:all(), Msg),
              State1 = check_timeslots(State),
              broadcast_values(State, State1),
              State1#state{round = NewRound}
      end;
  
  on({gather_stats, SourcePid, Round} = _Msg, State) ->
  
negative.code:         _ -> ok %nothing to do
      end.
  
  -spec reduce_timeslots(N::pos_integer(), State::#state{}) -> #state{}.
  reduce_timeslots(N, State) ->
      State#state{perf_rr = rrd:reduce_timeslots(N, State#state.perf_rr),
                  perf_lh = rrd:reduce_timeslots(N, State#state.perf_lh)}.
  
  -spec integrate_values(OtherState::#state{}, MyState::#state{}) -> #state{}.
  integrate_values(OtherState, MyState) ->
      MyPerfRR1 = integrate_value(OtherState#state.perf_rr, MyState#state.perf_rr),
      MyPerfLH1 = integrate_value(OtherState#state.perf_lh, MyState#state.perf_lh),
  