anchor.diff:              _ = application:start(sasl),   %% required by os_mon.
               _ = application:start(os_mon), %% for monitoring cpu and memory usage.
               _ = cpu_sup:util(), %% throw away first util value
  -            InitialReductions = get_reductions(),
  -            set_last_reductions(InitialReductions),
  +            {InitialReductions, Timestamp} = get_reductions(),
  +            set_last_reductions(InitialReductions, Timestamp),
               Resolution = config:read(lb_active_monitor_resolution),
               % only store newest value in rrd, monitor stores more values
               RRD = rrd:create(Resolution * 1000, 1, gauge),
  
positive.code:              {reductions, N} = erlang:process_info(Pid, reductions),
               N
           end || Pid <- MyGroupPids, Pid =/= self()],
      lists:sum(AllReductions).
  
  -spec set_last_reductions(non_neg_integer()) -> ok.
  set_last_reductions(Reductions) ->
      erlang:put(reductions, Reductions),
      ok.
  
  -spec get_last_reductions() -> non_neg_integer().
  get_last_reductions() ->
      erlang:get(reductions).
  
  
negative.code:     end.
  
  %% @doc get the reductions of all processes in the pid group
  -spec get_reductions() -> {non_neg_integer(), erlang:timestamp()}.
  get_reductions() ->
      MyGroupPids = pid_groups:my_members(),
      AllReductions =
  