Files
go-zero/core/stat/internal/cpu_other.go
2021-09-15 13:31:20 +08:00

10 lines
172 B
Go

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