commit | 6e7b83d80b5f81f41f3df9b3660acdf88532c879 | [log] [tgz] |
---|---|---|
author | Connor O'Brien <connoro@google.com> | Wed Jan 31 18:11:57 2018 -0800 |
committer | Connor O'Brien <connoro@google.com> | Tue Apr 03 11:15:30 2018 -0700 |
tree | f5f6f867a3da7874e79e1b7e8fe6995ab85c541b | |
parent | 13b40d327b49759119e86f3e9724e27d3aa3b538 [diff] |
ANDROID: cpufreq: track per-task time in state Add time in state data to task structs, and create /proc/<pid>/time_in_state files to show how long each individual task has run at each frequency. Create a CONFIG_CPU_FREQ_TIMES option to enable/disable this tracking. Signed-off-by: Connor O'Brien <connoro@google.com> Bug: 72339335 Bug: 70951257 Test: Read /proc/<pid>/time_in_state Change-Id: Ia6456754f4cb1e83b2bc35efa8fbe9f8696febc8