Home
last modified time | relevance | path

Searched refs:NBLog (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/services/audioflinger/
DTypedLogger.h88 #define LOGT(fmt, ...) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
93 #define LOG_HIST_TS() do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
94 x->logEventHistTs(NBLog::EVENT_HISTOGRAM_ENTRY_TS, hash(__FILE__, __LINE__)); } while(0)
97 #define LOG_AUDIO_STATE() do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
98 x->logEventHistTs(NBLog::EVENT_AUDIO_STATE, hash(__FILE__, __LINE__)); } while(0)
102 #define LOG_LATENCY(ms) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
103 x->log<NBLog::EVENT_LATENCY>(ms); } while (0)
106 #define LOG_OVERRUN(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
107 x->log<NBLog::EVENT_OVERRUN>(ns); } while (0)
111 #define LOG_THREAD_INFO(info) do { NBLog::Writer *x = tlNBLogWriter; \
[all …]
DFastThread.h44 virtual void setNBLogWriter(NBLog::Writer *logWriter __unused) { } in setNBLogWriter()
84 const sp<NBLog::Writer> mDummyNBLogWriter{new NBLog::Writer()};
DTypedLogger.cpp26 thread_local NBLog::Writer *tlNBLogWriter;
DFastThreadState.h47 NBLog::Writer* mNBLogWriter; // non-blocking logger
DFastCapture.h42 virtual void setNBLogWriter(NBLog::Writer *logWriter);
DFastMixer.h55 virtual void setNBLogWriter(NBLog::Writer *logWriter);
DFastCapture.cpp61 void FastCapture::setNBLogWriter(NBLog::Writer *logWriter __unused) in setNBLogWriter()
DFastMixer.cpp108 void FastMixer::setNBLogWriter(NBLog::Writer *logWriter) in setNBLogWriter()
268 NBLog::thread_params_t params; in onStateChange()
DAudioFlinger.h290 sp<NBLog::Writer> newWriter_l(size_t size, const char *name);
291 void unregisterWriter(const sp<NBLog::Writer>& writer);
312 Vector< sp<NBLog::Writer> > mUnregisteredWriters;
/frameworks/av/services/medialog/
DMediaLogService.cpp39 mMergerShared((NBLog::Shared*) malloc(NBLog::Timeline::sharedSize(kMergeBufferSize))), in MediaLogService()
42 mMergeThread(new NBLog::MergeThread(mMerger, mMergeReader)) in MediaLogService()
59 shared->size() < NBLog::Timeline::sharedSize(size)) { in registerWriter()
62 sp<NBLog::Reader> reader(new NBLog::Reader(shared, size, name)); // Reader handled by merger in registerWriter()
63 sp<NBLog::DumpReader> dumpReader(new NBLog::DumpReader(shared, size, name)); // for dumpsys in registerWriter()
DMediaLogService.h59 Vector<sp<NBLog::DumpReader>> mDumpReaders; // protected by mLock
62 NBLog::Shared *mMergerShared;
63 NBLog::Merger mMerger;
64 NBLog::MergeReader mMergeReader;
65 const sp<NBLog::MergeThread> mMergeThread;
/frameworks/av/media/libnblog/
DTimeline.cpp23 namespace NBLog { namespace
26 NBLog::Timeline::Timeline(size_t size, void *shared)
33 NBLog::Timeline::~Timeline()
DReportPerformance.cpp48 root["type"] = NBLog::threadTypeToString(data.threadInfo.type); in dumpToJson()
65 ss << "Thread type=" << NBLog::threadTypeToString(data.threadInfo.type) in dumpHistogramsToString()
119 ss << NBLog::threadTypeToString(data.threadInfo.type) << "," << data.threadInfo.id << "\n"; in dumpRetroString()
123 if (item.first == NBLog::EVENT_UNDERRUN) { in dumpRetroString()
125 } else if (item.first == NBLog::EVENT_OVERRUN) { in dumpRetroString()
167 if (data.threadInfo.type != NBLog::FASTMIXER) { in sendToMediaMetrics()
201 const char * const typeString = NBLog::threadTypeToString(data.threadInfo.type); in sendToMediaMetrics()
DEntry.cpp30 namespace NBLog { namespace
DWriter.cpp34 namespace NBLog { namespace
/frameworks/av/include/media/nblog/
DPerformanceAnalysis.h155 NBLog::thread_info_t threadInfo{};
156 NBLog::thread_params_t threadParams{};
164 std::deque<std::pair<NBLog::Event, int64_t /*timestamp*/>> snapshots;
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h155 NBLog::thread_info_t threadInfo{};
156 NBLog::thread_params_t threadParams{};
164 std::deque<std::pair<NBLog::Event, int64_t /*timestamp*/>> snapshots;
DMerger.h40 namespace NBLog {
54 void addReader(const sp<NBLog::Reader> &reader);
DReader.h37 namespace NBLog {
111 class DumpReader : public NBLog::Reader {
DTimeline.h26 namespace NBLog {
DEvents.h26 namespace NBLog {
DWriter.h35 namespace NBLog {
DEntry.h30 namespace NBLog {
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h46 namespace NBLog {
191 void setNBLogWriter(NBLog::Writer *logWriter) { in setNBLogWriter()
494 NBLog::Writer *mNBLogWriter = nullptr; // associated NBLog::Writer
/frameworks/av/include/media/
DAudioMixer.h46 namespace NBLog {
191 void setNBLogWriter(NBLog::Writer *logWriter) { in setNBLogWriter()
494 NBLog::Writer *mNBLogWriter = nullptr; // associated NBLog::Writer

12