am ba7e39d5: am 92a3914f: Merge "BatteryStats: Remove uid_cputime Slog.wtf for high cpu times" into mnc-dev
* commit 'ba7e39d53a49a1a86d5ec1b5ce66ce56b30c7e66': 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