const github.com/prometheus/procfs.userHZ
13 uses
github.com/prometheus/procfs (current package)
proc_stat.go#L40: const userHZ = 100
proc_stat.go#L186: return float64(stat.BootTime) + (float64(s.Starttime) / userHZ), nil
proc_stat.go#L191: return float64(s.UTime+s.STime) / userHZ
stat.go#L102: cpuStat.User /= userHZ
stat.go#L103: cpuStat.Nice /= userHZ
stat.go#L104: cpuStat.System /= userHZ
stat.go#L105: cpuStat.Idle /= userHZ
stat.go#L106: cpuStat.Iowait /= userHZ
stat.go#L107: cpuStat.IRQ /= userHZ
stat.go#L108: cpuStat.SoftIRQ /= userHZ
stat.go#L109: cpuStat.Steal /= userHZ
stat.go#L110: cpuStat.Guest /= userHZ
stat.go#L111: cpuStat.GuestNice /= userHZ
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |