Measure total time in state

This measure is not affected by uid removals and is monotonic. That
makes it a good fit for CPU telemetry in statsd.

Bug: 174245730
Test: manually compare total with uid breakdown
Change-Id: Ie0f071344f1236887ec2caf98476d154a67af1af
1 file changed
tree: a6364635b0a9516876eebe1e3513a305ad6c94bf
  1. test/
  2. Android.bp
  3. time_in_state.c