Lines Matching refs:time
27 * Reads CPU time of a specific core spent at various frequencies and provides a delta from the
30 * freq time
32 * where time is measured in 1/100 seconds.
53 * @return The time (in milliseconds) spent at different cpu speeds since the last call to
65 // The proc file reports time in 1/100 sec, so convert to milliseconds.
66 long time = Long.parseLong(splitter.next()) * 10;
67 if (time < mLastSpeedTimes[speedIndex]) {
68 // The stats reset when the cpu hotplugged. That means that the time
69 // we read is offset from 0, so the time is the delta.
70 mDeltaSpeedTimes[speedIndex] = time;
72 mDeltaSpeedTimes[speedIndex] = time - mLastSpeedTimes[speedIndex];
74 mLastSpeedTimes[speedIndex] = time;