commit | c2541dc8fbd0b468fd80439786c00e5c14838ce3 | [log] [tgz] |
---|---|---|
author | Connor O'Brien <connoro@google.com> | Thu Jun 06 17:36:52 2019 -0700 |
committer | Connor O'Brien <connoro@google.com> | Mon Jul 29 12:19:22 2019 -0700 |
tree | 54342532218f13c22df442f26171ce5d07009d42 | |
parent | 24e737a0b339a2f90d326b0d29a44b3ae8e57a6f [diff] |
time_in_state: support cpufreq fast switching On devices that support fast cpufreq switching, cpu_freq trace events are triggered once per cluster rather than once per cpu. By storing cpu to cluster and cluster to freq mappings, we can obtain the correct freq for a cpu regardless of whether fast switching is in use. Test: libtimeinstate_test passes Change-Id: Ia985ff61193985042223f8ee037ab4294edc2bbf Signed-off-by: Connor O'Brien <connoro@google.com>