shirou_gopsutil/cpu/cpu_darwin_nocgo.go

15 lines
313 B
Go
Raw Normal View History

2021-12-23 05:54:41 +08:00
//go:build darwin && !cgo
// +build darwin,!cgo
package cpu
import "github.com/shirou/gopsutil/v3/internal/common"
func perCPUTimes() ([]TimesStat, error) {
2016-04-01 20:34:39 +08:00
return []TimesStat{}, common.ErrNotImplementedError
}
func allCPUTimes() ([]TimesStat, error) {
2016-04-01 20:34:39 +08:00
return []TimesStat{}, common.ErrNotImplementedError
}