Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BlockProfileRecord (0.81 sec)

  1. src/internal/profilerecord/profilerecord.go

    }
    
    func (r *MemProfileRecord) InUseBytes() int64   { return r.AllocBytes - r.FreeBytes }
    func (r *MemProfileRecord) InUseObjects() int64 { return r.AllocObjects - r.FreeObjects }
    
    type BlockProfileRecord struct {
    	Count  int64
    	Cycles int64
    	Stack  []uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 815 bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    		mp := b.mp()
    		fn(b, b.nstk, &b.stk()[0], b.size, mp.active.allocs, mp.active.frees)
    	}
    	unlock(&profMemActiveLock)
    }
    
    // BlockProfileRecord describes blocking events originated
    // at a particular call sequence (stack trace).
    type BlockProfileRecord struct {
    	Count  int64
    	Cycles int64
    	StackRecord
    }
    
    // BlockProfile returns n, the number of records in the current blocking profile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof.go

    	var p []profilerecord.BlockProfileRecord
    	n, ok := runtimeProfile(nil)
    	for {
    		p = make([]profilerecord.BlockProfileRecord, n+50)
    		n, ok = runtimeProfile(p)
    		if ok {
    			p = p[:n]
    			break
    		}
    	}
    
    	slices.SortFunc(p, func(a, b profilerecord.BlockProfileRecord) int {
    		return cmp.Compare(b.Cycles, a.Cycles)
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. api/go1.8.txt

    pkg plugin, method (*Plugin) Lookup(string) (Symbol, error)
    pkg plugin, type Plugin struct
    pkg plugin, type Symbol interface {}
    pkg reflect, func Swapper(interface{}) func(int, int)
    pkg runtime, func MutexProfile([]BlockProfileRecord) (int, bool)
    pkg runtime, func SetMutexProfileFraction(int) int
    pkg runtime, type MemStats struct, NumForcedGC uint32
    pkg sort, func Slice(interface{}, func(int, int) bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*TypeAssertionError).Error", Method, 0},
    		{"(*TypeAssertionError).RuntimeError", Method, 0},
    		{"BlockProfile", Func, 1},
    		{"BlockProfileRecord", Type, 1},
    		{"BlockProfileRecord.Count", Field, 1},
    		{"BlockProfileRecord.Cycles", Field, 1},
    		{"BlockProfileRecord.StackRecord", Field, 1},
    		{"Breakpoint", Func, 0},
    		{"CPUProfile", Func, 0},
    		{"Caller", Func, 0},
    		{"Callers", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg runtime, func BlockProfile([]BlockProfileRecord) (int, bool)
    pkg runtime, func SetBlockProfileRate(int)
    pkg runtime, method (*BlockProfileRecord) Stack() []uintptr
    pkg runtime, type BlockProfileRecord struct
    pkg runtime, type BlockProfileRecord struct, Count int64
    pkg runtime, type BlockProfileRecord struct, Cycles int64
    pkg runtime, type BlockProfileRecord struct, embedded StackRecord
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top