mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
590 B
Go
27 lines
590 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
//go:build !darwin && !linux && !freebsd && !openbsd && !windows && !solaris && !aix
|
|
|
|
package load
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/shirou/gopsutil/v4/internal/common"
|
|
)
|
|
|
|
func Avg() (*AvgStat, error) {
|
|
return AvgWithContext(context.Background())
|
|
}
|
|
|
|
func AvgWithContext(ctx context.Context) (*AvgStat, error) {
|
|
return nil, common.ErrNotImplementedError
|
|
}
|
|
|
|
func Misc() (*MiscStat, error) {
|
|
return MiscWithContext(context.Background())
|
|
}
|
|
|
|
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
|
|
return nil, common.ErrNotImplementedError
|
|
}
|