Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalSize ¶
CanonicalSize converts a number of Bytes into a human readable quantity (ie. 10M)
Types ¶
type FileEntry ¶
type FileEntry struct {
// Name is the complete filepath of this file
Name string
// Weight is a relative score for this File's usage and size
Weight uint64
// Total memory used by mapping this file
Total uint64
// Sizes is a mapping of memory permissions to SizeEntries
Sizes map[string]*SizeEntry
}
FileEntry is a struct representing a single mapped file
type SizeEntry ¶
type SizeEntry struct {
// Size is the memory allocated for this permission set
Size uint64
// Refs is a count of the number of processes with this range mapped
Refs uint64
}
SizeEntry is a struct representing the size and frequency of use for a mapped region corresponding to FileEntry
Click to show internal directories.
Click to hide internal directories.