- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 83 for nanotime (0.26 sec)
-
src/runtime/os_netbsd_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy
final String name final Instant start private final AtomicReference<Instant> end = new AtomicReference<>() NamedOperation(String name) { this.name = name this.start = new Instant(System.nanoTime()) } @Override String toString() { return "[operation $name]" } Instant getEnd() { def instant = end.get() if (instant == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/features/events.md
return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos; public PrintingEventListener(long callId, long callStartNanos) { this.callId = callId; this.callStartNanos = callStartNanos; } private void printEvent(String name) { long elapsedNanos = System.nanoTime() - callStartNanos;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
) : EventListener(), EventListener.Factory { private var startNs: Long? = null override fun create(call: Call): EventListener = this override fun callStart(call: Call) { startNs = System.nanoTime() logWithTime("callStart: ${call.request()}") delegate.callStart(call) } override fun proxySelectStart( call: Call, url: HttpUrl, ) { logWithTime("proxySelectStart: $url")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos; PrintingEventListener(long callId, long callStartNanos) { this.callId = callId; this.callStartNanos = callStartNanos; } private void printEvent(String name) { long elapsedNanos = System.nanoTime() - callStartNanos;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
src/runtime/os_freebsd_arm.go
cpu.Platform = gostringnocopy((*byte)(unsafe.Pointer(val))) } } //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 - 1.4K bytes - Viewed (0) -
src/runtime/lock_sema.go
const ns = 10e6 for semasleep(ns) < 0 { asmcgocall(*cgo_yield, nil) } } gp.m.blocked = false return true } deadline = nanotime() + ns for { // Registered. Sleep. gp.m.blocked = true if *cgo_yield != nil && ns > 10e6 { ns = 10e6 } if semasleep(ns) >= 0 { gp.m.blocked = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildTriggerHandler.java
changeOrCancellationArrived.countDown(); } private static Instant nowFromMonotonicClock() { return Instant.ofEpochMilli(TimeUnit.NANOSECONDS.toMillis(System.nanoTime())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-minify/kotlin/build.gradle.kts
parameters { keepClassesByArtifact = keepPatterns // end::artifact-transform-registration[] // Make sure the transform executes each time timestamp = System.nanoTime() // tag::artifact-transform-registration[] } // tag::artifact-transform-attribute-setup[] } } // end::artifact-transform-attribute-setup[] // end::artifact-transform-registration[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/locking/ExclusiveFileAccessManager.java
} } finally { maybeCloseQuietly(channel); maybeCloseQuietly(randomAccessFile); } } private long getTimeMillis() { return System.nanoTime() / (1000L * 1000L); } private static void maybeCloseQuietly(Closeable closeable) { if (closeable != null) { try { closeable.close();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:53 UTC 2024 - 3.2K bytes - Viewed (0)