26 lines
594 B
Go
26 lines
594 B
Go
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
|
|
|
|
package cpu
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/marcospedreiro/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
|
|
}
|