summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChenjie Yu <cjyu@google.com>2017-12-14 16:48:54 -0800
committerChenjie Yu <cjyu@google.com>2017-12-16 17:08:46 -0800
commit85ed8387135849f256cecb4429c75938ad91cd55 (patch)
treeec014988fa0c5d4a500b3e4a93c00d4e14b3c0e2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent14b1f3ede6e40606733156c431792b390cac5d17 (diff)
align metrics to 5min bundary
We use one alarm clock for all pulled atoms. If metrics from different configs are not aligned, the clock will be set to repeat at higher and higher frequency, and consume a lot of battery. Current implementation assumes a 5min minimum bucket size. New metric start time is set to be aligned to the start time of statsd in the next 5min. So it will ignore events up to 5min. align puller alarm to minute bundary Test: unit test Change-Id: I77ffa3c13de363c780b1000181b9a9b780dd0846
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions