shirou_gopsutil/cpu/cpu_fallback.go

22 lines
449 B
Go
Raw Normal View History

// +build !darwin,!linux,!freebsd,!openbsd,!windows
package cpu
import (
"time"
"github.com/shirou/gopsutil/internal/common"
)
func Times(percpu bool) ([]TimesStat, error) {
return []TimesStat{}, common.ErrNotImplementedError
}
func Info() ([]InfoStat, error) {
return []InfoStat{}, common.ErrNotImplementedError
}
func Percent(interval time.Duration, percpu bool) ([]float64, error) {
return []float64{}, common.ErrNotImplementedError
}