- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for writeHeapProto (0.38 sec)
-
src/runtime/pprof/pprof.go
p = make([]profilerecord.MemProfileRecord, n+50) n, ok = pprof_memProfileInternal(p, true) if ok { p = p[0:n] break } // Profile grew; try again. } if debug == 0 { return writeHeapProto(w, p, int64(runtime.MemProfileRate), defaultSampleType) } slices.SortFunc(p, func(a, b profilerecord.MemProfileRecord) int { return cmp.Compare(a.InUseBytes(), b.InUseBytes()) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0)