Files
node-problem-detector/vendor/github.com/shirou/gopsutil/cpu/cpu_fallback.go
Xuewei Zhang 935fab705e Add github.com/shirou/gopsutil/host to vendor
This is needed for a coming PR to measure system uptime.
I separated vendor changes out, because they are larger while easier to
review.

This done via:
GO111MODULE=on go get github.com/shirou/gopsutil/host
GO111MODULE=on go mod vendor
2019-06-27 16:40:05 -07:00

26 lines
586 B
Go

// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
package cpu
import (
"context"
"github.com/shirou/gopsutil/internal/common"
)
func Times(percpu bool) ([]TimesStat, error) {
return TimesWithContext(context.Background(), percpu)
}
func TimesWithContext(ctx context.Context, percpu bool) ([]TimesStat, error) {
return []TimesStat{}, common.ErrNotImplementedError
}
func Info() ([]InfoStat, error) {
return InfoWithContext(context.Background())
}
func InfoWithContext(ctx context.Context) ([]InfoStat, error) {
return []InfoStat{}, common.ErrNotImplementedError
}