Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/channels/
DTickerChannels.kt90 val nextDelay = (deadline - now).coerceAtLeast(0) in fixedPeriodTicker() constant
91 if (nextDelay == 0L && delayNs != 0L) { in fixedPeriodTicker()
96 delay(delayNanosToMillis(nextDelay)) in fixedPeriodTicker()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DOpenLoopClient.java168 nextRpc += nextDelay(targetQps); in call()
213 private long nextDelay(int targetQps) { in nextDelay() method in OpenLoopClient.LoadGenerationWorker