Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FreeObjects (0.31 sec)

  1. src/runtime/mprof.go

    func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
    
    // InUseObjects returns the number of objects in use (AllocObjects - FreeObjects).
    func (r *MemProfileRecord) InUseObjects() int64 {
    	return r.AllocObjects - r.FreeObjects
    }
    
    // Stack returns the stack trace associated with the record,
    // a prefix of r.Stack0.
    func (r *MemProfileRecord) Stack() []uintptr {
    	for i, v := range r.Stack0 {
    		if v == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top