Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MicroSecond ¶
type MicroSecond uint64
type Specs ¶
func GetSpecs ¶
func GetSpecs() *Specs
GetSpecs returns the MHz and Cores of the detected CPU.
Tries to read accurate information out of /sys/devices before falling back to /proc/cpuinfo.
TODO(shoenig): we should probably get this from the Topology plumbed into the driver - which did not exist for the pledge driver when this code was originally written.
Click to show internal directories.
Click to hide internal directories.