- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 64 for nanotime (0.22 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestLogger.groovy
* limitations under the License. */ package org.gradle.test.fixtures.concurrent class TestLogger { private final long startTime = System.nanoTime() void log(def msg) { println "* [${(long) ((System.nanoTime() - startTime) / 1000000L)}ms] [${Thread.currentThread().name}] ${msg}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 886 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/os_openbsd_arm64.go
// license that can be found in the LICENSE file. package runtime //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 329 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordingCallback.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java
return CLOCK.getCurrentTime(); } /** * Measures elapsed time. * * Timers use System.nanoTime() to measure elapsed time, * and are therefore not synchronized with {@link #clock()} or the system wall clock. * * System.nanoTime() does not consider time elapsed while the system is in hibernation.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/os_linux_arm.go
case _AT_PLATFORM: cpu.Platform = gostringnocopy((*byte)(unsafe.Pointer(val))) } } func osArchInit() {} //go:nosplit func cputicks() int64 { // nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy
package org.gradle.internal.time import spock.lang.Specification import java.util.concurrent.TimeUnit class DefaultTimerTest extends Specification { def timeSource = Mock(TimeSource) { 1 * nanoTime() >> 0 } def timer = new DefaultTimer(timeSource) def testOnlySecondsTwoDigits() throws Exception { when: setTime(51243) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 15 10:40:05 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
class LoggingEventListener private constructor( private val logger: HttpLoggingInterceptor.Logger, ) : EventListener() { private var startNs: Long = 0 override fun callStart(call: Call) { startNs = System.nanoTime() logWithTime("callStart: ${call.request()}") } override fun proxySelectStart( call: Call, url: HttpUrl, ) { logWithTime("proxySelectStart: $url") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 15 10:40:05 UTC 2024 - 3.5K bytes - Viewed (0)