summaryrefslogtreecommitdiffstats
path: root/devices/cpu_cpu.go
diff options
context:
space:
mode:
Diffstat (limited to 'devices/cpu_cpu.go')
-rw-r--r--devices/cpu_cpu.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/cpu_cpu.go b/devices/cpu_cpu.go
index 42eff2e..a959e32 100644
--- a/devices/cpu_cpu.go
+++ b/devices/cpu_cpu.go
@@ -7,6 +7,8 @@ import (
psCpu "github.com/shirou/gopsutil/cpu"
)
+// FIXME: broken % under Linux. Doesn't reflect reality *at all*.
+// FIXME: gotop CPU use high -- gopsutils again? Try rolling back.
func init() {
f := func(cpus map[string]int, iv time.Duration, l bool) map[string]error {
cpuCount, err := psCpu.Counts(l)