From 1295bb4dcff7b29c75cd23746816df12a871d72c Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Thu, 31 May 2012 07:43:43 -0700 Subject: Fast track dumpsys Bug: 6591648 Change-Id: I696f51c682e7233ba690d97da26012084989b412 --- services/audioflinger/FastMixer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services/audioflinger/FastMixer.h') diff --git a/services/audioflinger/FastMixer.h b/services/audioflinger/FastMixer.h index e95abf6..06e76d5 100644 --- a/services/audioflinger/FastMixer.h +++ b/services/audioflinger/FastMixer.h @@ -72,9 +72,10 @@ private: // Represents the dump state of a fast track struct FastTrackDump { - FastTrackDump() { } + FastTrackDump() : mFramesReady(0) { } /*virtual*/ ~FastTrackDump() { } FastTrackUnderruns mUnderruns; + size_t mFramesReady; // most recent value only; no long-term statistics kept }; // The FastMixerDumpState keeps a cache of FastMixer statistics that can be logged by dumpsys. @@ -100,6 +101,7 @@ struct FastMixerDumpState { size_t mFrameCount; struct timespec mMeasuredWarmupTs; // measured warmup time uint32_t mWarmupCycles; // number of loop cycles required to warmup + uint32_t mTrackMask; // mask of active tracks FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; #ifdef FAST_MIXER_STATISTICS -- cgit v1.1