Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AllocBytes (0.48 sec)

  1. src/runtime/pprof/pprof.go

    	// other 4-column profiles where alloc != inuse.
    	// The easiest way to avoid this bug is to adjust allocBytes so it's never == inuseBytes.
    	// pprof doesn't use these header values anymore except for checking equality.
    	inUseBytes := total.InUseBytes()
    	allocBytes := total.AllocBytes
    	if inUseBytes == allocBytes {
    		allocBytes++
    	}
    
    	fmt.Fprintf(w, "heap profile: %d: %d [%d: %d] @ heap/%d\n",
    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