CPUStat shows how much time the cpu spend in various stages.
| 28 | |
| 29 | // CPUStat shows how much time the cpu spend in various stages. |
| 30 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected