Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/afutils/
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 auto nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop()
73 mOldTs = newTs; in threadLoop()
/frameworks/av/services/audioflinger/fastpath/
DFastThread.cpp182 struct timespec newTs; in threadLoop() local
183 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); in threadLoop()
186 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop()
187 auto nsec = newTs.tv_nsec - mOldTs.tv_nsec; in threadLoop()
190 mOldTs.tv_sec, mOldTs.tv_nsec, newTs.tv_sec, newTs.tv_nsec); in threadLoop()
235 LOG_UNDERRUN(audio_utils_ns_from_timespec(&newTs)); in threadLoop()
245 LOG_OVERRUN(audio_utils_ns_from_timespec(&newTs)); in threadLoop()
324 mOldTs = newTs; in threadLoop()