You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
586 B
25 lines
586 B
// +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 |
|
}
|
|
|