- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for nanoSeconds (0.43 sec)
-
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) { nanos.addAndGet(nanoseconds); return this; } /** * Advances the ticker value by {@code duration}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/logger/audit.go
entry.API.InputBytes = r.ContentLength entry.API.OutputBytes = outputBytes entry.API.HeaderBytes = headerBytes entry.API.TimeToResponse = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) + "ns" entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) // We hold the lock, so we cannot call reqInfo.GetTagsMap(). tags := make(map[string]interface{}, len(reqInfo.tags)) for _, t := range reqInfo.tags {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/histogram.go
// // Following this pattern, bucket 38 will have the bit 46 set. We don't // have any buckets for higher values, so we spill the rest into an overflow // bucket containing values of 2^47-1 nanoseconds or approx. 1 day or more. // This range is more than enough to handle durations produced by the runtime. timeHistMinBucketBits = 9 timeHistMaxBucketBits = 48 // Note that this is exclusive; 1 higher than the actual range.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.3K bytes - Viewed (0) -
src/runtime/tracetime.go
// We're using cputicks as our clock, so we need a real estimate. return uint64(ticksPerSecond() / traceTimeDiv) } // Our clock is nanotime, so it's just the constant time division. // (trace clock units / nanoseconds) * (1e9 nanoseconds / 1 second) return uint64(1.0 / float64(traceTimeDiv) * 1e9) } // traceFrequency writes a batch with a single EvFrequency event. // // freq is the number of trace clock units per second.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
// a scaled version of it, so either one we can find is fine. if (s.Type == "samples" && s.Unit == "count") || (s.Type == "cpu" && s.Unit == "nanoseconds") { valueIndex = i break } } if valueIndex == -1 { return nil, fmt.Errorf(`profile does not contain a sample index with value/type "samples/count" or cpu/nanoseconds"`) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:12:37 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:12:37 UTC 2024 - 6.6K bytes - Viewed (0) -
src/runtime/nonwindows_stub.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !windows package runtime // osRelaxMinNS is the number of nanoseconds of idleness to tolerate // without performing an osRelax. Since osRelax may reduce the // precision of timers, this should be enough larger than the relaxed // timer precision to keep the timer error acceptable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 03:12:13 UTC 2024 - 962 bytes - Viewed (0) -
internal/grid/benchmark_test.go
if conn == nil { b.Fatal("No connection") } // Send the payload. t := time.Now() resp, err := conn.Request(ctx, handlerTest, payload) latency += time.Since(t).Nanoseconds() if err != nil { if debugReqs { fmt.Println(err.Error()) } b.Fatal(err.Error()) } PutByteBuffer(resp) n++ }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/DefaultTimer.java
} @Override public long getElapsedMillis() { long elapsedNanos = timeSource.nanoTime() - startTime; long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos); // System.nanoTime() can go backwards under some circumstances. // http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6458294
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 1.6K bytes - Viewed (0)