var runtime.MemProfileRate
9 uses
runtime (current package)
malloc.go#L1148: if rate := MemProfileRate; rate > 0 {
malloc.go#L1224: if MemProfileRate == 1 {
malloc.go#L1238: return uintptr(fastexprand(MemProfileRate))
malloc.go#L1275: rate := MemProfileRate
mprof.go#L493: var MemProfileRate int = 512 * 1024
runtime1.go#L386: MemProfileRate = n
runtime/pprof
pprof.go#L576: return writeHeapProto(w, p, int64(runtime.MemProfileRate), defaultSampleType)
pprof.go#L600: 2*runtime.MemProfileRate)
testing
testing.go#L1528: runtime.MemProfileRate = *memProfileRate
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |