anchor.diff:      end.
   
   process_grabbed_stats(TS,
  -                      {PlainStats, TapStats},
  +                      {PlainStats, TapStats, KVTimings},
                         #state{bucket = Bucket,
                                last_plain_counters = LastPlainCounters,
                                last_tap_counters = LastTapCounters,
  +                             last_timings_counters = LastTimingsCounters,
                                last_ts = LastTS} = State) ->
       {PlainValues, PlainCounters} = parse_plain_stats(TS, PlainStats, LastTS, LastPlainCounters),
       {TapValues, TapCounters} = parse_tapagg_stats(TS, TapStats, LastTS, LastTapCounters),
  +    {TimingValues, TimingsCounters} = parse_kvtimings(TS, KVTimings, LastTS, LastTimingsCounters),
       %% Don't send event with undefined values
  -    case LastPlainCounters =/= undefined andalso LastTapCounters =/= undefined of
  -        true ->
  -            Values = lists:merge(PlainValues, TapValues),
  +    case lists:member(undefined, [LastTapCounters, LastTapCounters, LastTimingsCounters]) of
  +        false ->
  +            Values = lists:merge([PlainValues, TapValues, TimingValues]),
               Entry = #stat_entry{timestamp = TS,
                                   values = Values},
               gen_event:notify(ns_stats_event, {stats, Bucket, Entry});
  -        false ->
  +        true ->
               ok
       end,
       State#state{last_plain_counters = PlainCounters,
                   last_tap_counters = TapCounters,
  +                last_timings_counters = TimingsCounters,
                   last_ts = TS}.
   
   terminate(_Reason, _State) ->
  
positive.code:     parse_stats_raw(TS, parse_aggregate_tap_stats(TapStats),
                      LastTapCounters, LastTS,
                      [?TAP_STAT_GAUGES], [?TAP_STAT_COUNTERS]).
  
  %% Tests
  
  
negative.code:                    {ok, Values} -> Values;
                     {memcached_error, key_enoent, _} -> []
                 end,
      KVTimings = case ns_memcached:stats(Bucket, <<"kvtimings">>) of
                      {ok, ValuesK} ->
                          prefilter_kvtimings(ValuesK);
                      {memcached_error, key_enoent, _} -> []
                  end,
      {Stats, TapStats, KVTimings}.
  
  handle_info({tick, TS}, #state{bucket=Bucket} = State) ->
      GrabFreq = misc:get_env_default(grab_stats_every_n_ticks, 1),
  