2024-02-17 03:48:29 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-12-22 21:54:41 +00:00
|
|
|
//go:build !darwin && !linux && !freebsd && !openbsd && !windows && !solaris && !aix
|
2016-08-22 15:31:26 -07:00
|
|
|
|
|
|
|
package load
|
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2024-02-17 03:48:29 +00:00
|
|
|
"github.com/shirou/gopsutil/v4/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
|
|
|
|
}
|