load_windows.go 520 B

1234567891011121314151617181920212223242526272829
  1. // +build windows
  2. package load
  3. import (
  4. "context"
  5. "github.com/shirou/gopsutil/internal/common"
  6. )
  7. func Avg() (*AvgStat, error) {
  8. return AvgWithContext(context.Background())
  9. }
  10. func AvgWithContext(ctx context.Context) (*AvgStat, error) {
  11. ret := AvgStat{}
  12. return &ret, common.ErrNotImplementedError
  13. }
  14. func Misc() (*MiscStat, error) {
  15. return MiscWithContext(context.Background())
  16. }
  17. func MiscWithContext(ctx context.Context) (*MiscStat, error) {
  18. ret := MiscStat{}
  19. return &ret, common.ErrNotImplementedError
  20. }