OSDN Git Service

Increase size of statistics buffer
authorGlenn Kasten <gkasten@google.com>
Mon, 11 Mar 2013 17:58:50 +0000 (10:58 -0700)
committerGlenn Kasten <gkasten@google.com>
Mon, 11 Mar 2013 17:58:50 +0000 (10:58 -0700)
Bug: 8354576
Change-Id: I327e9dc203e09df8abc21e589ce9056540618abd

services/audioflinger/FastMixer.h

index 462739b..2ab1d04 100644 (file)
@@ -107,7 +107,7 @@ struct FastMixerDumpState {
 #ifdef FAST_MIXER_STATISTICS
     // Recently collected samples of per-cycle monotonic time, thread CPU time, and CPU frequency.
     // kSamplingN is the size of the sampling frame, and must be a power of 2 <= 0x8000.
-    static const uint32_t kSamplingN = 0x1000;
+    static const uint32_t kSamplingN = 0x8000;
     // The bounds define the interval of valid samples, and are represented as follows:
     //      newest open (excluded) endpoint   = lower 16 bits of bounds, modulo N
     //      oldest closed (included) endpoint = upper 16 bits of bounds, modulo N