diff options
author | Rafal Slawik <rslawik@google.com> | 2021-02-01 10:28:02 +0000 |
---|---|---|
committer | Rafal Slawik <rslawik@google.com> | 2021-02-03 10:22:44 +0000 |
commit | f280c6aba50b43edd1e5a0d97294d41cc70ac3eb (patch) | |
tree | 35c6646db424679940b2b777c1195f307046cf17 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 173704e599de3b6eecfc3fdfc1261291635bfa12 (diff) |
Check if CPU time tracking is expected to work
Register the puller for CpuTimePerClusterFreq only if CPU time tracking
is supported. This avoid passing all zero times around and recording
"no data" state.
Depends on https://r.android.com/1566193
Bug: 174245730
Test: cmd stats pull-source 10095
Test: atest CpuStatsTests
Change-Id: Ifb3da84711b111eabc4af7a166dec794278b4a02
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions