# Functions
DumpJSON dumps a json-compatible struct in human-readable form.
GetCPUFreqValue returns information of the currently used CPU frequency.
NewIDSet creates a new unordered set of (integer) ids.
NewIDSetFromIntSlice creates a new unordered set from an integer slice.
No description provided by the author
SetCPUScalingMaxFreq sets the scaling_max_freq value of a given CPU.
SetCPUScalingMinFreq sets the scaling_min_freq value of a given CPU.
SetCPUsScalingMaxFreq sets the scaling_max_freq value of a given set of CPUs.
SetCPUsScalingMinFreq sets the scaling_min_freq value of a given set of CPUs.
SetUncoreMaxFreq sets the maximum uncore frequency of a CPU die.
SetUncoreMinFreq sets the minimum uncore frequency of a CPU die.
SortUint64s sorts a slice of uint64 in increasing order.
UncoreFreqAvailable returns true if the uncore frequency control functions are available.
# Constants
No description provided by the author
No description provided by the author
Unknown represents an unknown id.
# Type aliases
ID is nn integer id, used to identify packages, CPUs, nodes, etc.
IDSet is an unordered set of integer ids.
Uint64Slice implmenents sort.Interface for a slice of uint64.