Searched refs:NBLog (Results 1 – 25 of 28) sorted by relevance
12
/frameworks/av/services/audioflinger/ |
D | TypedLogger.h | 88 #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 …]
|
D | FastThread.h | 44 virtual void setNBLogWriter(NBLog::Writer *logWriter __unused) { } in setNBLogWriter() 84 const sp<NBLog::Writer> mDummyNBLogWriter{new NBLog::Writer()};
|
D | TypedLogger.cpp | 26 thread_local NBLog::Writer *tlNBLogWriter;
|
D | FastThreadState.h | 47 NBLog::Writer* mNBLogWriter; // non-blocking logger
|
D | FastCapture.h | 42 virtual void setNBLogWriter(NBLog::Writer *logWriter);
|
D | FastMixer.h | 55 virtual void setNBLogWriter(NBLog::Writer *logWriter);
|
D | FastCapture.cpp | 61 void FastCapture::setNBLogWriter(NBLog::Writer *logWriter __unused) in setNBLogWriter()
|
D | FastMixer.cpp | 117 void FastMixer::setNBLogWriter(NBLog::Writer *logWriter __unused) in setNBLogWriter() 272 NBLog::thread_params_t params; in onStateChange()
|
D | AudioFlinger.h | 287 sp<NBLog::Writer> newWriter_l(size_t size, const char *name); 288 void unregisterWriter(const sp<NBLog::Writer>& writer); 320 Vector< sp<NBLog::Writer> > mUnregisteredWriters;
|
D | AudioFlinger.cpp | 778 sp<NBLog::Writer> AudioFlinger::newWriter_l(size_t size, const char *name) in newWriter_l() 783 return new NBLog::Writer(); in newWriter_l() 785 sp<IMemory> shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size)); in newWriter_l() 801 shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size)); in newWriter_l() 808 return new NBLog::Writer(); in newWriter_l() 811 NBLog::Shared *sharedRawPtr = (NBLog::Shared *) shared->unsecurePointer(); in newWriter_l() 812 new((void *) sharedRawPtr) NBLog::Shared(); // placement new here, but the corresponding in newWriter_l() 815 return new NBLog::Writer(shared, size); in newWriter_l() 818 void AudioFlinger::unregisterWriter(const sp<NBLog::Writer>& writer) in unregisterWriter()
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 39 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()
|
D | MediaLogService.h | 59 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/ |
D | Timeline.cpp | 23 namespace NBLog { namespace 26 NBLog::Timeline::Timeline(size_t size, void *shared) 33 NBLog::Timeline::~Timeline()
|
D | ReportPerformance.cpp | 48 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()
|
D | Entry.cpp | 30 namespace NBLog { namespace
|
D | Writer.cpp | 34 namespace NBLog { namespace
|
D | Merger.cpp | 44 namespace NBLog { namespace
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | PerformanceAnalysis.h | 155 NBLog::thread_info_t threadInfo{}; 156 NBLog::thread_params_t threadParams{}; 164 std::deque<std::pair<NBLog::Event, int64_t /*timestamp*/>> snapshots;
|
D | Merger.h | 40 namespace NBLog { 54 void addReader(const sp<NBLog::Reader> &reader);
|
D | Reader.h | 37 namespace NBLog { 111 class DumpReader : public NBLog::Reader {
|
D | Timeline.h | 26 namespace NBLog {
|
D | Events.h | 26 namespace NBLog {
|
D | Writer.h | 35 namespace NBLog {
|
D | Entry.h | 30 namespace NBLog {
|
/frameworks/av/services/medialog/fuzzer/ |
D | media_log_fuzzer.cpp | 52 sp<IMemory> logBuffer = mMemoryDealer->allocate(NBLog::Timeline::sharedSize(logSize)); in process()
|
12