Loading core/java/com/android/internal/os/ProcessStats.java +2 −2 Original line number Diff line number Diff line Loading @@ -154,7 +154,7 @@ public class ProcessStats { private boolean mFirst = true; private byte[] mBuffer = new byte[256]; private byte[] mBuffer = new byte[4096]; /** * The time in microseconds that the CPU has been running at each speed. Loading Loading @@ -556,7 +556,7 @@ public class ProcessStats { private long[] getCpuSpeedTimes(long[] out) { long[] tempTimes = out; long[] tempSpeeds = mCpuSpeeds; final int MAX_SPEEDS = 20; final int MAX_SPEEDS = 60; if (out == null) { tempTimes = new long[MAX_SPEEDS]; // Hopefully no more than that tempSpeeds = new long[MAX_SPEEDS]; Loading Loading
core/java/com/android/internal/os/ProcessStats.java +2 −2 Original line number Diff line number Diff line Loading @@ -154,7 +154,7 @@ public class ProcessStats { private boolean mFirst = true; private byte[] mBuffer = new byte[256]; private byte[] mBuffer = new byte[4096]; /** * The time in microseconds that the CPU has been running at each speed. Loading Loading @@ -556,7 +556,7 @@ public class ProcessStats { private long[] getCpuSpeedTimes(long[] out) { long[] tempTimes = out; long[] tempSpeeds = mCpuSpeeds; final int MAX_SPEEDS = 20; final int MAX_SPEEDS = 60; if (out == null) { tempTimes = new long[MAX_SPEEDS]; // Hopefully no more than that tempSpeeds = new long[MAX_SPEEDS]; Loading