2016-11-21 23:18:52 +01:00
|
|
|
// +build !darwin,!linux,!freebsd,!openbsd,!windows
|
2016-08-22 15:31:26 -07:00
|
|
|
|
|
|
|
package load
|
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2018-11-19 22:06:05 -08:00
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
2017-12-31 15:25:49 +09:00
|
|
|
)
|
2016-08-22 15:31:26 -07:00
|
|
|
|
|
|
|
func Avg() (*AvgStat, error) {
|
2017-12-31 15:25:49 +09:00
|
|
|
return AvgWithContext(context.Background())
|
|
|
|
}
|
|
|
|
|
|
|
|
func AvgWithContext(ctx context.Context) (*AvgStat, error) {
|
2016-08-22 15:31:26 -07:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func Misc() (*MiscStat, error) {
|
2017-12-31 15:25:49 +09:00
|
|
|
return MiscWithContext(context.Background())
|
|
|
|
}
|
|
|
|
|
|
|
|
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
|
2016-08-22 15:31:26 -07:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|