Searched refs:nowNs (Results 1 – 4 of 4) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | SimpleLog.h | 88 void log(int64_t nowNs, const char *format, ...) in log() argument 92 logv(nowNs, format, args); in log() 105 void logv(int64_t nowNs, const char *format, va_list args) in logv() argument 111 logs(nowNs, "invalid format"); in logv() 121 logs(nowNs, buffer); in logv() 135 void logs(int64_t nowNs, U&& buffer) in logs() argument 139 if (nowNs == -1) { in logs() 140 nowNs = audio_utils_get_real_time_ns(); in logs() 142 mLog.emplace_back(nowNs, std::forward<U>(buffer)); in logs()
|
D | ErrorLog.h | 69 void log(const T &code, int64_t nowNs) in log() argument 77 && nowNs - mEntries[mIdx].mLastTime < mAggregateNs) { in log() 79 mEntries[mIdx].mLastTime = nowNs; in log() 87 mEntries[mIdx].setFirstError(code, nowNs); in log()
|
D | PowerLog.h | 67 void log(const void *buffer, size_t frames, int64_t nowNs);
|
/system/media/audio_utils/ |
D | PowerLog.cpp | 64 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) in log() argument 75 mCurrentTime = nowNs; in log() 82 (long long)nowNs, required, process, mCurrentEnergy, mCurrentFrames); in log() 91 mEntries[mIdx++] = std::make_pair(nowNs, 0.f); in log()
|