Searched refs:nowNs (Results 1 - 4 of 4) sorted by relevance

/system/media/audio_utils/include/audio_utils/
H A DSimpleLog.h72 logv(-1 /* nowNs */, format, args);
79 * \param nowNs the time to use for logging. Assumed to be monotonically
88 void log(int64_t nowNs, const char *format, ...) argument
92 logv(nowNs, format, args);
99 * \param nowNs the time to use for logging. Assumed to be monotonically
105 void logv(int64_t nowNs, const char *format, va_list args) argument
111 logs(nowNs, "invalid format");
121 logs(nowNs, buffer);
126 * \param nowNs the time to use for logging. Assumed to be monotonically
133 void logs(int64_t nowNs, cons argument
[all...]
H A DErrorLog.h67 * \param nowNs current time in nanoseconds.
69 void log(const T &code, int64_t nowNs) argument
77 && nowNs - mEntries[mIdx].mLastTime < mAggregateNs) {
79 mEntries[mIdx].mLastTime = nowNs;
87 mEntries[mIdx].setFirstError(code, nowNs);
H A DPowerLog.h65 * \param nowNs current time in nanoseconds.
67 void log(const void *buffer, size_t frames, int64_t nowNs);
/system/media/audio_utils/
H A DPowerLog.cpp61 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) argument
72 mCurrentTime = nowNs;
78 ALOGV("nowNs:%lld, required:%zu, process:%zu, mCurrentEnergy:%f, mCurrentFrames:%zu",
79 (long long)nowNs, required, process, mCurrentEnergy, mCurrentFrames);
88 mEntries[mIdx++] = std::make_pair(nowNs, 0.f);

Completed in 270 milliseconds