anchor.diff:  %  ...]
   
   get_stats_raw(_PoolId, BucketId, SamplesNum) ->
  -    dict:to_list(stats_aggregator:get_stats(BucketId, SamplesNum)).
  +    stats_aggregator:get_stats(BucketId, SamplesNum).
   
   sum_stats_ops(Stats) ->
       sum_stats(["cmd_get", "cmd_set",
  
positive.code:     SamplesNum = 10,
      Samples = get_stats_raw(PoolId, BucketId, SamplesNum),
      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)),
                            CurBytes),
      [{cacheSize, NumNodes * MbPerNode},
       {opsPerSec, OpsPerSec},
  
negative.code:                "cmd_flush"],
                Stats).
  
  sum_stats(Keys, Stats) ->
      D = dict:filter(fun(K,_V) -> lists:member(K, Keys) end, Stats),
      dict:fold(fun(_K, V, []) ->
                        V;
                   (_K, V, L) ->
                        lists:zipwith(fun(X,Y) -> X+Y end, V, L)
                end, [], D).
  
  avg(undefined) -> 0.0;
  avg(L)         -> avg(L, 0, 0).
  