commit | 45caa84d2d7d55e6fa74f66cfe30c0169a8cc38d | [log] [tgz] |
---|---|---|
author | Rafal Slawik <rslawik@google.com> | Fri Jan 29 12:25:56 2021 +0000 |
committer | Rafal Slawik <rslawik@google.com> | Fri Jan 29 12:25:56 2021 +0000 |
tree | b88c20dac6112e2736c6afebe691d5325e375edc | |
parent | 21474550bc37ccb8524dc49c702b1f735376f5eb [diff] |
Check if CPU time tracking is expected to work This check will allow statsd to decide whether it should add a puller for total CPU time tracking. Reading total CPU time on devices that does not support CPU time tracking is wasteful, passing all zero times around and recording "no data" state. Bug: 174245730 Test: atest libtimeinstate_test Test: cmd stats pull-source 10095 Change-Id: Ib6155af4cbd6c639d356118934237d7dfd76b3a8