Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MaxArrayLen is a safe maximum length for slices on this architecture.
MaxArrayLen = 1<<50 - 1
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metrics ¶
type Metrics [NumPurposes]struct { // InUseBytes is the total number of bytes currently allocated. This is just // the sum of the lengths of the allocations and does not include any overhead // or fragmentation. InUseBytes uint64 }
Metrics contains memory statistics by purpose.
Click to show internal directories.
Click to hide internal directories.