OSDN Git Service

align metrics start time to the previous 5 min start, instead
authorChenjie Yu <cjyu@google.com>
Mon, 18 Dec 2017 23:20:00 +0000 (15:20 -0800)
committerChenjie Yu <cjyu@google.com>
Mon, 18 Dec 2017 23:53:18 +0000 (15:53 -0800)
commit2b4fc9d657feaafb654a38096ec46622dcdb37bc
tree549f237af249ea46ff4f8b7ecaccdc24710c1935
parent4561b431acd3806b579fe7643e6bf8e74f67e509
align metrics start time to the previous 5 min start, instead
of the next 5 min start. Also refactor config check condition
to be more readable.

Test: unit test
Change-Id: Iaa6b4a59d27c52996723862d92080d90c9e794cb
cmds/statsd/src/metrics/metrics_manager_util.cpp