Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocObjects (0.29 sec)

  1. src/runtime/pprof/pprof.go

    	b := bufio.NewWriter(w)
    	tw := tabwriter.NewWriter(b, 1, 8, 1, '\t', 0)
    	w = tw
    
    	var total runtime.MemProfileRecord
    	for i := range p {
    		r := &p[i]
    		total.AllocBytes += r.AllocBytes
    		total.AllocObjects += r.AllocObjects
    		total.FreeBytes += r.FreeBytes
    		total.FreeObjects += r.FreeObjects
    	}
    
    	// Technically the rate is MemProfileRate not 2*MemProfileRate,
    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