- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pause_end (0.15 sec)
-
src/runtime/debug/garbage_test.go
// compare memory stats with gc stats: if len(stats.PauseEnd) != n { t.Fatalf("len(stats.PauseEnd) = %d, want %d", len(stats.PauseEnd), n) } off := (int(mstats.NumGC) + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd) for i := 0; i < n; i++ { dt := stats.PauseEnd[i] if dt.UnixNano() != int64(mstats.PauseEnd[off]) { t.Errorf("stats.PauseEnd[%d] = %d, want %d", i, dt.UnixNano(), mstats.PauseEnd[off]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 7.2K bytes - Viewed (0) -
cmd/admin-server-info.go
PauseQuantiles: make([]time.Duration, 5), } debug.ReadGCStats(&gcStats) // Truncate GC stats to max 5 entries. if len(gcStats.PauseEnd) > 5 { gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:] } if len(gcStats.Pause) > 5 { gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:] } props := madmin.ServerProperties{ Endpoint: addr,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0)