1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-24 13:48:56 +08:00
shirou_gopsutil/load/load_windows.go

30 lines
520 B
Go
Raw Normal View History

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
import (
2017-12-31 15:25:49 +09:00
"context"
2015-10-20 00:04:57 +09:00
"github.com/shirou/gopsutil/internal/common"
)
func Avg() (*AvgStat, error) {
2017-12-31 15:25:49 +09:00
return AvgWithContext(context.Background())
}
func AvgWithContext(ctx context.Context) (*AvgStat, error) {
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
}
func Misc() (*MiscStat, error) {
2017-12-31 15:25:49 +09:00
return MiscWithContext(context.Background())
}
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
ret := MiscStat{}
2016-04-01 21:34:39 +09:00
return &ret, common.ErrNotImplementedError
}