Versions in this module Expand all Collapse all v0 v0.0.1 Jul 2, 2024 Changes in this version + func GetCpuBusy(t *cpu.TimesStat) float64 + func GetCpuTotal(t *cpu.TimesStat) float64 + func GetCpuUtil(t *cpu.TimesStat) float64 + type CpuState struct + Cpu *CpuTimeCsStat + Ctxt int64 + Hirq int64 + Sirq int64 + Time int64 + type CpuTimeCsStat struct + M []CpuTimesStatExt + func (st *CpuTimeCsStat) Gauge(other *CpuTimeCsStat) map[string]CpuTimesStatExt + type CpuTimesStatExt struct + Busy float64 + Total float64 + Util float64