cpu_other.go 172 B

123456789
  1. //go:build !linux
  2. // +build !linux
  3. package internal
  4. // RefreshCpu returns cpu usage, always returns 0 on systems other than linux.
  5. func RefreshCpu() uint64 {
  6. return 0
  7. }