Files
go-zero/core/stat/internal/cpu_other.go
2021-02-28 16:16:22 +08:00

9 lines
154 B
Go

// +build !linux
package internal
// RefreshCpu returns cpu usage, always returns 0 on systems other than linux.
func RefreshCpu() uint64 {
return 0
}