Files
go-zero/core/stat/internal/cpu_other.go

9 lines
167 B
Go

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