profilerecord

package standard library
go1.27.3 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 {
	ObjectSize                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