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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/devices/cpu_cpu.go b/devices/cpu_cpu.go
index 1ee50f7..0c1f9c1 100644
--- a/devices/cpu_cpu.go
+++ b/devices/cpu_cpu.go
@@ -6,6 +6,7 @@ import (
psCpu "github.com/shirou/gopsutil/cpu"
)
+// FIXME: broken % under Linux. Doesn't reflect reality *at all*.
func init() {
f := func(cpus map[string]int, l bool) map[string]error {
cpuCount, err := psCpu.Counts(l)