- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getHistogramCount (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go
dt = diff } clk.SetTime(t1) tro.Set(1) expectedCount := int64(dt / samplingPeriod) actualCount, err := getHistogramCount(registry, histogramName) if err != nil && !(err == errMetricNotFound && expectedCount == 0) { t.Fatalf("For t0=%s, t1=%s, failed to getHistogramCount: %#+v", t0, t1, err) } t.Logf("For i=%d, ddt=%s, t1=%s, diff=%s, dt=%s, count=%d", i, ddt, t1, diff, dt, actualCount)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 16:03:06 UTC 2022 - 8.7K bytes - Viewed (0)