github.com/shuguocloud/go-zero@v1.3.0/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 }