am 8e81f616: am 36ba8b1b: am ba7e39d5: am 92a3914f: Merge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times" into mnc-dev
* commit '8e81f6164e93c8a69dc196d83e0a8ee0ebb7297e': BatteryStats: Remove uid_cputime Slog.wtf for high cpu times
This commit is contained in:
@@ -95,8 +95,7 @@ public class KernelUidCpuTimeReader {
|
||||
powerDeltaMaUs -= mLastPowerMaUs.valueAt(index);
|
||||
|
||||
final long timeDiffUs = nowUs - mLastTimeReadUs;
|
||||
if (userTimeDeltaUs < 0 || systemTimeDeltaUs < 0 || powerDeltaMaUs < 0 ||
|
||||
userTimeDeltaUs > timeDiffUs || systemTimeDeltaUs > timeDiffUs) {
|
||||
if (userTimeDeltaUs < 0 || systemTimeDeltaUs < 0 || powerDeltaMaUs < 0) {
|
||||
StringBuilder sb = new StringBuilder("Malformed cpu data for UID=");
|
||||
sb.append(uid).append("!\n");
|
||||
sb.append("Time between reads: ");
|
||||
|
||||
Reference in New Issue
Block a user