Searched refs:nsec (Results 1 – 7 of 7) sorted by relevance
227 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop() local228 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in threadLoop()231 if (nsec < 0) { in threadLoop()233 nsec += 1000000000; in threadLoop()244 mMeasuredWarmupTs.tv_nsec += nsec; in threadLoop()250 if (mWarmupNsMin <= nsec && nsec <= mWarmupNsMax) { in threadLoop()251 ALOGV("warmup cycle %d in range: %.03f ms", mWarmupCycles, nsec * 1e-9); in threadLoop()254 ALOGV("warmup cycle %d out of range: %.03f ms", mWarmupCycles, nsec * 1e-9); in threadLoop()269 if (sec > 0 || nsec > mUnderrunNs) { in threadLoop()273 (int) sec, nsec / 1000000L); in threadLoop()[all …]
68 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop() local69 if (nsec < 0) { in threadLoop()71 nsec += 1000000000; in threadLoop()75 uint32_t cycleNs = nsec; in threadLoop()84 if ((mLogTs.tv_nsec += nsec) >= 1000000000) { in threadLoop()
131 long nsec = nowTs.tv_nsec - mWriteTs.tv_nsec; in write() local132 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in write()135 if (nsec < 0) { in write()137 nsec += 1000000000; in write()140 if ((long) ns > nsec) { in write()141 ns -= nsec; in write()
116 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; in Visualizer_getDeltaTimeMsFromUpdatedTime() local117 if (nsec < 0) { in Visualizer_getDeltaTimeMsFromUpdatedTime()119 nsec += 1000000000; in Visualizer_getDeltaTimeMsFromUpdatedTime()121 deltaMs = secs * 1000 + nsec / 1000000; in Visualizer_getDeltaTimeMsFromUpdatedTime()
1178 auto nsec = stopTime.tv_nsec - mStartTime.tv_nsec; in stopTone() local1179 if (nsec < 0) { in stopTone()1181 nsec += 1000000000; in stopTone()1188 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds in stopTone()
550 lastTimestamp.tv_nsec = msg.entry.nsec; in BlockingCall()555 proto.write(BinaryLogEntry::NANOSEC, (int32_t)msg.entry.nsec); in BlockingCall()
41 mLogdTimestampNs = msg.entry.sec * NS_PER_SEC + msg.entry.nsec; in LogEvent()