rename var
This commit is contained in:
parent
fcc1747d9f
commit
c36f7ac8b0
|
@ -39,14 +39,13 @@ type InfoStat struct {
|
|||
Flags []string `json:"flags"`
|
||||
}
|
||||
|
||||
//CPUPercent
|
||||
type cpuPercent struct {
|
||||
type lastPercent struct {
|
||||
sync.Mutex
|
||||
lastCPUTimes []TimesStat
|
||||
lastPerCPUTimes []TimesStat
|
||||
}
|
||||
|
||||
var lastCPUPercent cpuPercent
|
||||
var lastCPUPercent lastPercent
|
||||
var invoke common.Invoker
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in New Issue