summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixerDumpState.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2018-06-11 19:13:11 -0700
committerAndy Hung <hunga@google.com>2018-06-18 15:16:41 -0700
commit2e2c0bbe19c4cc50ee9ae8bef7955229fe2fb058 (patch)
treec7c8defc8161838cd5f7dd8f3d221493a9d441ff /services/audioflinger/FastMixerDumpState.h
parent14dc10deebda497664a5ec0943c1083f64d2ed9d (diff)
downloadframeworks_av-2e2c0bbe19c4cc50ee9ae8bef7955229fe2fb058.tar.gz
frameworks_av-2e2c0bbe19c4cc50ee9ae8bef7955229fe2fb058.tar.bz2
frameworks_av-2e2c0bbe19c4cc50ee9ae8bef7955229fe2fb058.zip
Timestamp: Collect and dump statistics
Test: Audioflinger dumpsys Bug: 80502521 Change-Id: I8c7c8b0c2f0f51dc898ed96f6a973e20490022f1
Diffstat (limited to 'services/audioflinger/FastMixerDumpState.h')
-rw-r--r--services/audioflinger/FastMixerDumpState.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixerDumpState.h b/services/audioflinger/FastMixerDumpState.h
index aed6bc598c..9b91cbcade 100644
--- a/services/audioflinger/FastMixerDumpState.h
+++ b/services/audioflinger/FastMixerDumpState.h
@@ -18,6 +18,7 @@
#define ANDROID_AUDIO_FAST_MIXER_DUMP_STATE_H
#include <stdint.h>
+#include <audio_utils/TimestampVerifier.h>
#include "Configuration.h"
#include "FastThreadDumpState.h"
#include "FastMixerState.h"
@@ -75,6 +76,9 @@ struct FastMixerDumpState : FastThreadDumpState {
size_t mFrameCount;
uint32_t mTrackMask; // mask of active tracks
FastTrackDump mTracks[FastMixerState::kMaxFastTracks];
+
+ // For timestamp statistics.
+ TimestampVerifier<int64_t /* frame count */, int64_t /* time ns */> mTimestampVerifier;
};
} // android