Merge pull request #403 from HeChuanXUPT/patch-2

set win cpu total name to "cpu-total"
pull/405/head
shirou 8 years ago committed by GitHub
commit f8e4e2ca16

@ -69,6 +69,7 @@ func Times(percpu bool) ([]TimesStat, error) {
system := (kernel - idle)
ret = append(ret, TimesStat{
CPU: "cpu-total",
Idle: float64(idle),
User: float64(user),
System: float64(system),

Loading…
Cancel
Save