Documentation ¶
Overview ¶
Package profilerecord holds internal types used to represent profiling records with deep stack traces.
TODO: Consider moving this to internal/runtime, see golang.org/issue/65355.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockProfileRecord ¶
type MemProfileRecord ¶
type MemProfileRecord struct {
AllocBytes, FreeBytes int64
AllocObjects, FreeObjects int64
Stack []uintptr
}
func (*MemProfileRecord) InUseBytes ¶
func (r *MemProfileRecord) InUseBytes() int64
func (*MemProfileRecord) InUseObjects ¶
func (r *MemProfileRecord) InUseObjects() int64
type StackRecord ¶
type StackRecord struct {
Stack []uintptr
}
Click to show internal directories.
Click to hide internal directories.