open-nomad/vendor/github.com/shirou/gopsutil/cpu/cpu_fallback.go
K.C. Wong 8efd355af7 Update vendor package shirou/gopsutil
* resolve #1392
* pull in the fix for shirou/gopsutil/#249 which updates
  the Linux driver for `cpu` to set `cpu.Mhz` to the maximum
  clock-speed of the CPU, if that's available
2016-08-30 10:48:07 -07:00

22 lines
440 B
Go

// +build !darwin,!linux,!freebsd,!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
}