xframe/base/stat/internal/cpu_other.go

9 lines
155 B
Go
Raw Normal View History

2024-10-12 12:55:20 +08:00
//go:build !linux
package internal
// RefreshCpu returns cpu usage, always returns 0 on systems other than linux.
func RefreshCpu() uint64 {
return 0
}