Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MemProfileRecord (0.56 sec)

  1. src/runtime/pprof/pprof.go

    	// The loop should only execute one iteration in the common case.
    	var p []profilerecord.MemProfileRecord
    	n, ok := pprof_memProfileInternal(nil, true)
    	for {
    		// Allocate room for a slightly bigger profile,
    		// in case a few more entries have been added
    		// since the call to MemProfile.
    		p = make([]profilerecord.MemProfileRecord, n+50)
    		n, ok = pprof_memProfileInternal(p, true)
    		if ok {
    			p = p[0:n]
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top