- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for Microseconds (0.17 sec)
-
pkg/kubelet/cm/helpers_linux_test.go
} func TestResourceConfigForPodWithCustomCPUCFSQuotaPeriod(t *testing.T) { defaultQuotaPeriod := uint64(100 * time.Millisecond / time.Microsecond) // in microseconds tunedQuotaPeriod := uint64(5 * time.Millisecond / time.Microsecond) // in microseconds tunedQuota := int64(1 * time.Millisecond / time.Microsecond) featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.CPUCFSQuotaPeriod, true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
} // namespace // Counter that records how long it took to execute the checkpoint sharding // callback in microseconds. auto* sharding_callback_duration = monitoring::Counter<0>::New( "/tensorflow/core/checkpoint/sharding/callback_duration", "Sharding callback execution duration in microseconds."); // Counter that records how many checkpoint shard files were written during // saving.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} public void testTryAcquire_overflow() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(0, MICROSECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(Long.MAX_VALUE, MICROSECONDS)); } public void testTryAcquire_negative() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(5, 0, SECONDS));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} public void testTryAcquire_overflow() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(0, MICROSECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(Long.MAX_VALUE, MICROSECONDS)); } public void testTryAcquire_negative() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(5, 0, SECONDS));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.6K bytes - Viewed (0) -
src/time/example_test.go
// Output: I've got 4.5 hours of work left. } func ExampleDuration_Microseconds() { u, _ := time.ParseDuration("1s") fmt.Printf("One second is %d microseconds.\n", u.Microseconds()) // Output: // One second is 1000000 microseconds. } func ExampleDuration_Milliseconds() { u, _ := time.ParseDuration("1s") fmt.Printf("One second is %d milliseconds.\n", u.Milliseconds()) // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
"/tensorflow/cc/saved_model/load_latency", "Latency in microseconds for SavedModels that were successfully loaded.", "model_path"); auto* load_latency_by_stage = monitoring::Sampler<2>::New( { "/tensorflow/cc/saved_model/load_latency_by_stage", // metric name "Distribution of wall time spent (in microseconds) in each stage " "(restore graph from disk, run init graph op, etc) when loading the "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
private var nextQueueName = 10000 private var coordinatorWaiting = false private var coordinatorWakeUpAt = 0L /** * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until * the already-requested ones are in service, otherwise we might create more threads than we need. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 10.6K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
enforceCPULimits: cm.EnforceCPULimits, // cpuCFSQuotaPeriod is in microseconds. NodeConfig.CPUCFSQuotaPeriod is time.Duration (measured in nano seconds). // Convert (cm.CPUCFSQuotaPeriod) [nanoseconds] / time.Microsecond (1000) to get cpuCFSQuotaPeriod in microseconds. cpuCFSQuotaPeriod: uint64(cm.CPUCFSQuotaPeriod / time.Microsecond), } } return &podContainerManagerNoop{ cgroupRoot: cm.cgroupRoot, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
// kubeGenericRuntimeManager.cpuCFSQuotaPeriod is provided in time.Duration, // but we need to convert it to number of microseconds which is used by kernel. cpuPeriod = int64(m.cpuCFSQuotaPeriod.Duration / time.Microsecond) } cpuQuota := milliCPUToQuota(cpuLimit.MilliValue(), cpuPeriod) resources.CpuQuota = cpuQuota resources.CpuPeriod = cpuPeriod }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
docs/en/docs/async.md
Instead of that, by being an "asynchronous" system, once finished, the task can wait in line a little bit (some microseconds) for the computer / program to finish whatever it went to do, and then come back to take the results and continue working with them.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 00:24:48 UTC 2024 - 23K bytes - Viewed (0)