rename var

This commit is contained in:
Ben Aldrich 2016-06-01 15:45:29 -06:00
parent fcc1747d9f
commit c36f7ac8b0
1 changed files with 2 additions and 3 deletions

View File

@ -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() {