Searched refs:nowNanos (Results 1 – 4 of 4) sorted by relevance
224 long nowNanos = System.nanoTime(); in waitForPreconditions() local225 long endTimeNanos = nowNanos + PRECONDITION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditions()227 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditions()235 nowNanos = System.nanoTime(); in waitForPreconditions()243 long nowNanos = System.nanoTime(); in waitForPreconditionViolation() local244 long endTimeNanos = nowNanos + PRECONDITION_VIOLATION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditionViolation()246 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditionViolation()253 nowNanos = System.nanoTime(); in waitForPreconditionViolation()268 long nowNanos = System.nanoTime(); in waitForEvents() local269 while (nowNanos < waitUntilNanos) { in waitForEvents()[all …]
208 long nowNanos = System.nanoTime(); in waitForPreconditions() local209 long endTimeNanos = nowNanos + PRECONDITION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditions()211 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditions()219 nowNanos = System.nanoTime(); in waitForPreconditions()227 long nowNanos = System.nanoTime(); in waitForPreconditionViolation() local228 long endTimeNanos = nowNanos + PRECONDITION_VIOLATION_WAIT_TIMEOUT_NANOSECONDS; in waitForPreconditionViolation()230 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditionViolation()237 nowNanos = System.nanoTime(); in waitForPreconditionViolation()252 long nowNanos = System.nanoTime(); in waitForEvents() local253 while (nowNanos < waitUntilNanos) { in waitForEvents()[all …]
491 long nowNanos = System.nanoTime(); in waitForPreconditions() local492 long endTimeNanos = nowNanos + PRECONDITION_WAIT_TIMEOUT_SECONDS * 1_000_000_000L; in waitForPreconditions()494 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditions()502 nowNanos = System.nanoTime(); in waitForPreconditions()512 long nowNanos = System.nanoTime(); in waitForPreconditionViolation() local513 long endTimeNanos = nowNanos + PRECONDITION_VIOLATION_WAIT_TIMEOUT_SECONDS * 1_000_000_000L; in waitForPreconditionViolation()515 long timeRemainingMillis = (endTimeNanos - nowNanos) / 1_000_000; in waitForPreconditionViolation()522 nowNanos = System.nanoTime(); in waitForPreconditionViolation()537 long nowNanos = System.nanoTime(); in waitForEvents() local538 while (nowNanos < waitUntilNanos) { in waitForEvents()[all …]
2141 long nowNanos = System.nanoTime(); in isOutOfTime() local2142 if (nowNanos < mStartTimeNanos) { in isOutOfTime()2145 return nowNanos - mStartTimeNanos > mMaxDuration.toNanos(); in isOutOfTime()