2014-04-18 21:28:00 +09:00
|
|
|
// +build windows
|
|
|
|
|
2014-12-30 22:09:05 +09:00
|
|
|
package load
|
2014-04-18 21:28:00 +09:00
|
|
|
|
2014-11-27 10:18:15 +09:00
|
|
|
import (
|
2017-12-31 15:25:49 +09:00
|
|
|
"context"
|
|
|
|
|
2015-10-20 00:04:57 +09:00
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
2014-11-27 10:18:15 +09:00
|
|
|
)
|
|
|
|
|
2016-03-22 23:09:12 +09: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-03-22 23:09:12 +09:00
|
|
|
ret := AvgStat{}
|
2014-04-18 21:28:00 +09:00
|
|
|
|
2016-04-01 21:34:39 +09:00
|
|
|
return &ret, common.ErrNotImplementedError
|
2014-04-18 21:28:00 +09:00
|
|
|
}
|
2016-02-20 22:52:16 +09:00
|
|
|
|
|
|
|
func Misc() (*MiscStat, error) {
|
2017-12-31 15:25:49 +09:00
|
|
|
return MiscWithContext(context.Background())
|
|
|
|
}
|
|
|
|
|
|
|
|
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
|
2016-02-20 22:52:16 +09:00
|
|
|
ret := MiscStat{}
|
|
|
|
|
2016-04-01 21:34:39 +09:00
|
|
|
return &ret, common.ErrNotImplementedError
|
2016-02-20 22:52:16 +09:00
|
|
|
}
|