commit | f280c6aba50b43edd1e5a0d97294d41cc70ac3eb | [log] [tgz] |
---|---|---|
author | Rafal Slawik <rslawik@google.com> | Mon Feb 01 10:28:02 2021 +0000 |
committer | Rafal Slawik <rslawik@google.com> | Wed Feb 03 10:22:44 2021 +0000 |
tree | 35c6646db424679940b2b777c1195f307046cf17 | |
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