- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 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) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_proto.go
func (m *MicroTime) ProtoMicroTime() *Timestamp { if m == nil { return &Timestamp{} } // truncate precision to microseconds to match JSON marshaling/unmarshaling truncatedNanoseconds := time.Duration(m.Time.Nanosecond()).Truncate(time.Microsecond) return &Timestamp{ Seconds: m.Time.Unix(), Nanos: int32(truncatedNanoseconds), } } // Size implements the protobuf marshalling interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 02 08:21:04 UTC 2022 - 2.3K 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) -
guava-tests/test/com/google/common/base/StopwatchTest.java
} public void testElapsed_micros() { stopwatch.start(); ticker.advance(999); assertEquals(0, stopwatch.elapsed(MICROSECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MICROSECONDS)); } public void testElapsed_millis() { stopwatch.start(); ticker.advance(999999); assertEquals(0, stopwatch.elapsed(MILLISECONDS));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 15:09:35 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux.go
limitations under the License. */ package kuberuntime import ( "k8s.io/kubernetes/pkg/kubelet/cm" "math" ) const ( milliCPUToCPU = 1000 // 100000 microseconds is equivalent to 100ms quotaPeriod = 100000 // 1000 microseconds is equivalent to 1ms // defined here: // https://github.com/torvalds/linux/blob/cac03ac368fabff0122853de2422d4e17a32de08/kernel/sched/core.c#L10546 minQuotaPeriod = 1000 )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/test/echo/common/util.go
} // MicrosToDuration converts the given microseconds to a time.Duration. func MicrosToDuration(micros int64) time.Duration { return time.Duration(micros) * time.Microsecond } // DurationToMicros converts the given duration to microseconds. func DurationToMicros(d time.Duration) int64 { return int64(d / time.Microsecond)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 01 01:05:45 UTC 2022 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
} /** * Reserves the given number of permits from this {@code RateLimiter} for future use, returning * the number of microseconds until the reservation can be consumed. * * @return time in microseconds to wait until the resource can be acquired, never negative */ final long reserve(int permits) { checkPermits(permits); synchronized (mutex()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Nov 15 21:38:09 UTC 2022 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
* for information on the behaviour of the algorithm. * * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds. * * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0)