From 214b406c813e5baca3e4b5cdc1d986de35f09bbb Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Mon, 2 Mar 2015 14:15:47 -0800 Subject: Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICS Change-Id: Idb5f5bf0c20bffff8536cf4a46f696e12e99e81b --- services/audioflinger/FastMixerDumpState.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'services/audioflinger/FastMixerDumpState.cpp') diff --git a/services/audioflinger/FastMixerDumpState.cpp b/services/audioflinger/FastMixerDumpState.cpp index 0ddd908..148c0f7 100644 --- a/services/audioflinger/FastMixerDumpState.cpp +++ b/services/audioflinger/FastMixerDumpState.cpp @@ -18,7 +18,7 @@ //#define LOG_NDEBUG 0 #include "Configuration.h" -#ifdef FAST_MIXER_STATISTICS +#ifdef FAST_THREAD_STATISTICS #include #ifdef CPU_FREQUENCY_STATISTICS #include @@ -31,7 +31,7 @@ namespace android { FastMixerDumpState::FastMixerDumpState( -#ifdef FAST_MIXER_STATISTICS +#ifdef FAST_THREAD_STATISTICS uint32_t samplingN #endif ) : FastThreadDumpState(), @@ -40,12 +40,12 @@ FastMixerDumpState::FastMixerDumpState( mSampleRate(0), mFrameCount(0), mTrackMask(0) { -#ifdef FAST_MIXER_STATISTICS +#ifdef FAST_THREAD_STATISTICS increaseSamplingN(samplingN); #endif } -#ifdef FAST_MIXER_STATISTICS +#ifdef FAST_THREAD_STATISTICS void FastMixerDumpState::increaseSamplingN(uint32_t samplingN) { if (samplingN <= mSamplingN || samplingN > kSamplingN || roundup(samplingN) != samplingN) { @@ -126,7 +126,7 @@ void FastMixerDumpState::dump(int fd) const mNumTracks, mWriteErrors, mUnderruns, mOverruns, mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, mixPeriodSec * 1e3); -#ifdef FAST_MIXER_STATISTICS +#ifdef FAST_THREAD_STATISTICS // find the interval of valid samples uint32_t bounds = mBounds; uint32_t newestOpen = bounds & 0xFFFF; -- cgit v1.1