Home
last modified time | relevance | path

Searched refs:newTs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioWatchdog.cpp56 struct timespec newTs; in threadLoop() local
57 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); in threadLoop()
63 mOldTs = newTs; in threadLoop()
67 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop()
68 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop()
73 mOldTs = newTs; in threadLoop()
DFastThread.cpp222 struct timespec newTs; in threadLoop() local
223 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); in threadLoop()
226 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop()
227 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop()
230 mOldTs.tv_sec, mOldTs.tv_nsec, newTs.tv_sec, newTs.tv_nsec); in threadLoop()
275 LOG_UNDERRUN(audio_utils_ns_from_timespec(&newTs)); in threadLoop()
285 LOG_OVERRUN(audio_utils_ns_from_timespec(&newTs)); in threadLoop()
364 mOldTs = newTs; in threadLoop()