- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for accumulateGCPauseTime (0.14 sec)
-
src/runtime/mgc.go
now := nanotime() work.tSweepTerm = now var stw worldStop systemstack(func() { stw = stopTheWorldWithSema(stwGCSweepTerm) }) // Accumulate fine-grained stopping time. work.cpuStats.accumulateGCPauseTime(stw.stoppingCPUTime, 1) // Finish sweep before we start concurrent scan. systemstack(func() { finishsweep_m() }) // clearpools before we start the GC. If we wait the memory will not be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/runtime/mstats.go
} // accumulateGCPauseTime add dt*stwProcs to the GC CPU pause time stats. dt should be // the actual time spent paused, for orthogonality. maxProcs should be GOMAXPROCS, // not work.stwprocs, since this number must be comparable to a total time computed // from GOMAXPROCS. func (s *cpuStats) accumulateGCPauseTime(dt int64, maxProcs int32) { cpu := dt * int64(maxProcs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0)