mirror of
https://github.com/safing/portbase
synced 2025-09-02 18:50:14 +00:00
Fix comment
This commit is contained in:
parent
e593d3ee45
commit
c259c5dea5
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func LoadAvg5() (loadAvg float64, ok bool) {
|
||||||
return 0, false
|
return 0, false
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoadAvg15 returns the 5-minute average system load.
|
// LoadAvg15 returns the 15-minute average system load.
|
||||||
func LoadAvg15() (loadAvg float64, ok bool) {
|
func LoadAvg15() (loadAvg float64, ok bool) {
|
||||||
if stat := getLoadAvg(); stat != nil {
|
if stat := getLoadAvg(); stat != nil {
|
||||||
return stat.Load15 / float64(runtime.NumCPU()), true
|
return stat.Load15 / float64(runtime.NumCPU()), true
|
||||||
|
|
Loading…
Add table
Reference in a new issue