anchor.diff:      NumNodes = length(ns_node_disco:nodes_wanted()),
       SamplesNum = 10,
       Samples = get_stats_raw(PoolId, BucketId, SamplesNum),
  -    OpsPerSec = avg(sum_stats_ops(Samples)),
  -    EvictionsPerSec = avg(proplists:get_value("evictions", Samples)),
  +    OpsPerSec = avg(deltas(sum_stats_ops(Samples))),
  +    EvictionsPerSec = avg(deltas(proplists:get_value("evictions", Samples))),
       CurBytes = erlang:max(avg(proplists:get_value("bytes", Samples)),
                             1),
       MaxBytes = erlang:max(avg(proplists:get_value("limit_maxbytes", Samples)),
  
positive.code:     ?assertEqual(1.08, float_round(1.0800099)),
      ok.
  
  -endif.
  
  
negative.code: 
  float_round(X) -> float(trunc(1000.0 * X)) / 1000.0.
  
  deltas(undefined)  -> undefined;
  deltas([])         -> [];
  deltas([X | Rest]) -> deltas(Rest, X, []).
  
  deltas([], _, Acc) -> lists:reverse(Acc);
  deltas([X | Rest], Prev, Acc) ->
      deltas(Rest, X, [erlang:max(X - Prev, 0) | Acc]).
  
  -ifdef(EUNIT).
  
  test() ->
  