github.com/lingyao2333/mo-zero@v1.4.1/core/stat/internal/cpu_other.go (about) 1 //go:build !linux 2 // +build !linux 3 4 package internal 5 6 // RefreshCpu returns cpu usage, always returns 0 on systems other than linux. 7 func RefreshCpu() uint64 { 8 return 0 9 }