Help us shape the future of Go! Take the 2026 Go Developer Survey

profilerecord

package standard library
go1.26.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

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 BlockProfileRecord struct {
	Count  int64
	Cycles int64
	Stack  []uintptr
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL