commit | 07048eeb8bf34603db2670cb40630df2d5e59d49 | [log] [tgz] |
---|---|---|
author | Marissa Wall <[email protected]> | Thu Aug 31 16:26:35 2017 -0700 |
committer | Marissa Wall <[email protected]> | Mon Sep 04 08:59:40 2017 -0700 |
tree | 76ea18bbfd9daf003dd6674bc78b252c07ad7e61 | |
parent | 42fa0e2a83260d73cd8ac70a623e3eea7196c352 [diff] |
cpufreq/time_in_state: add time_in_state support Get the time_in_state for all cpus by cluster. Add option to compute the delta between two time_in_states. This can be used in determining how much power the cpu used over a period of time. Test: call cpufreq.get_time_in_state(clusters) Change-Id: I173d269c486b476005563d3ffa4af29024b91a15