OSDN Git Service

Don't just clear mPastBuckets when onDumpReport is called.
authorYao Chen <yaochen@google.com>
Sat, 18 Nov 2017 22:14:38 +0000 (14:14 -0800)
committerYao Chen <yaochen@google.com>
Sat, 18 Nov 2017 22:14:38 +0000 (14:14 -0800)
commit30b6a20c99d043e36d41851d80250bfdf2810556
tree16144ad22bbf8ca200a4944ff07e76fa85790525
parentfe945d189a6b0206b95fbb76155835e0743d487a
Don't just clear mPastBuckets when onDumpReport is called.

This needs to be done properly. Left a TODO.

Test: statsd_test
Change-Id: I8537f0a870ab82039e0822c69096784403ee1651
cmds/statsd/src/metrics/DurationMetricProducer.cpp