Searched refs:getNanoseconds (Results 1 – 17 of 17) sorted by relevance
320 startTime = AudioClock::getNanoseconds(); in requestStart()388 mClockModel.stop(AudioClock::getNanoseconds()); in requestStop()444 *timeNanoseconds = timestamp.getNanoseconds(); in getTimestamp()616 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData()644 currentTimeNanos = AudioClock::getNanoseconds(); in processData()675 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
73 mClockModel.stop(AudioClock::getNanoseconds()); in requestPause()248 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
214 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()
167 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()190 *timeNanos = timestamp.getNanoseconds() + serviceEndpointMMAP->getHardwareTimeOffsetNanos(); in getHardwareTimestamp()
120 Timestamp timestamp(clientFramesWritten, AudioClock::getNanoseconds()); in callbackLoop()
136 Timestamp timestamp(clientFramesRead, AudioClock::getNanoseconds()); in callbackLoop()
299 timestampScheduler.start(AudioClock::getNanoseconds()); in run()304 if (AudioClock::getNanoseconds() >= nextTime) { in run()
187 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
248 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
34 static int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
257 int64_t getNanoseconds() const { return mNanoseconds; } in getNanoseconds() function
116 startedAtNanos = getNanoseconds(CLOCK_MONOTONIC); in testOpenPlayClose()121 (getNanoseconds(CLOCK_MONOTONIC) - startedAtNanos) / NANOS_PER_MILLISECOND; in testOpenPlayClose()
92 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
174 int64_t realTime = getNanoseconds(); in main()
245 long int seed = (long int)getNanoseconds(); // different every time by default in main()
138 timestamp->appNanoseconds = getNanoseconds(); in timestampDataCallbackProc()
98 const int64_t startNanos = getNanoseconds(); in hangIfRequested()100 const int64_t endNanos = getNanoseconds(); in hangIfRequested()