Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidWorkPool.cpp104 struct timeval deadlineUs; in getDeadline() local
106 gettimeofday(&deadlineUs, 0); in getDeadline()
108 auto prevDeadlineUs = deadlineUs.tv_usec; in getDeadline()
110 deadlineUs.tv_usec += relative; in getDeadline()
113 if (prevDeadlineUs > deadlineUs.tv_usec) { in getDeadline()
114 ++deadlineUs.tv_sec; in getDeadline()
117 deadlineNs.tv_sec = deadlineUs.tv_sec; in getDeadline()
118 deadlineNs.tv_nsec = deadlineUs.tv_usec * 1000LL; in getDeadline()