MCPcopy Create free account
hub / github.com/prometheus/procfs / CPUStat

Struct CPUStat

stat.go:30–41  ·  view source on GitHub ↗

CPUStat shows how much time the cpu spend in various stages.

Source from the content-addressed store, hash-verified

28
29// CPUStat shows how much time the cpu spend in various stages.
30type CPUStat struct {
31 User float64
32 Nice float64
33 System float64
34 Idle float64
35 Iowait float64
36 IRQ float64
37 SoftIRQ float64
38 Steal float64
39 Guest float64
40 GuestNice float64
41}
42
43// SoftIRQStat represent the softirq statistics as exported in the procfs stat file.
44// A nice introduction can be found at https://0xax.gitbooks.io/linux-insides/content/interrupts/interrupts-9.html

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected