loadavg

package module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 2 Imported by: 2

README

Additional custom packages

Documentation

Index

Constants

View Source
const (
	// MaxPeriod --
	MaxPeriod = 60 * 60 * 24
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadAvg

type LoadAvg struct {
	sync.Mutex
	// contains filtered or unexported fields
}

LoadAvg --

func Init

func Init(duration time.Duration) (me *LoadAvg)

Init --

func (*LoadAvg) AbsValue added in v0.1.1

func (me *LoadAvg) AbsValue() float64

AbsValue --

func (*LoadAvg) Add

func (me *LoadAvg) Add(v float64)

Add --

func (*LoadAvg) Value

func (me *LoadAvg) Value() float64

Value --

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL