Documentation ¶
Overview ¶
Package cpu is a library that counts system and process cpu usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUInfo ¶
type CPUInfo struct { ModelName string `json:"modelName"` Cores int32 `json:"cores"` Frequency float64 `json:"frequency"` // cpu frequency, unit(Mhz) }
CPUInfo cpu information
Click to show internal directories.
Click to hide internal directories.