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
1 file changed
tree: 76ea18bbfd9daf003dd6674bc78b252c07ad7e61
  1. devlib/
  2. doc/
  3. src/
  4. .gitignore
  5. README.rst
  6. setup.py