Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/android-emu/aemu/base/threads/
DAndroidWorkPool.cpp103 struct timeval deadlineUs; in getDeadline() local
105 gettimeofday(&deadlineUs, 0); in getDeadline()
107 auto prevDeadlineUs = deadlineUs.tv_usec; in getDeadline()
109 deadlineUs.tv_usec += relative; in getDeadline()
112 if (prevDeadlineUs > deadlineUs.tv_usec) { in getDeadline()
113 ++deadlineUs.tv_sec; in getDeadline()
116 deadlineNs.tv_sec = deadlineUs.tv_sec; in getDeadline()
117 deadlineNs.tv_nsec = deadlineUs.tv_usec * 1000LL; in getDeadline()