Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allocObjects (0.14 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    and flags that apply to the resulting test binary.
    
    Several of the flags control profiling and write an execution profile
    suitable for "go tool pprof"; run "go tool pprof -h" for more
    information. The --alloc_space, --alloc_objects, and --show_bytes
    options of pprof control how the information is presented.
    
    The following flags are recognized by the 'go test' command and
    control the execution of any test:
    
    	-bench regexp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top