Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SysCPUPath is patch of cpu device
SysCPUPath = "/sys/devices/system/cpu/"
)
Variables ¶
This section is empty.
Functions ¶
func AvailableCacheLevel ¶
func AvailableCacheLevel() []string
AvailableCacheLevel returns the L2 and L3 level cache, strip L1 cache. By default, get the info from cpu0 path, any issue? The type of return should be string or int?
Types ¶
Click to show internal directories.
Click to hide internal directories.