commit | 52f32a45cade2f23b13532e253b203b4a21a4017 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Aug 12 16:53:46 2019 -0700 |
committer | Yabin Cui <yabinc@google.com> | Tue Aug 20 14:47:30 2019 -0700 |
tree | ee1ab7a834443e172f346c6d5e2efb5411876606 | |
parent | c0dabf28cad04993dd7bf8184af71f3230afa64f [diff] |
simpleperf: add --use-devfreq-counters option. On devices like pixel 3, there are 7 hardware counters in cpu pmu. But 4 of them are used by devfreq to monitor memory latency. In case we need more than 3 counters, add an option to let devfreq release counters. Also add a warning of using this option if it seems we need more counters. Bug: none Test: run simpleperf_unit_test. Change-Id: I9a13716a8b64c8e0fc03a79b0c11dd29da169c56