...

Package profilerecord

import "internal/profilerecord"
Overview
Index

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.

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
}