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