struct Hardware::CPU
- Hardware::CPU
- Struct
- Value
- Object
Defined in:
hardware/cpu.crConstructors
Class Method Summary
- .previous_info : NamedTuple(used: Int32, idle: Int32, total: Int32)
- .previous_info=(previous_info : NamedTuple(used: Int32, idle: Int32, total: Int32))
Instance Method Summary
- #guest
- #guest_nice
- #idle
- #info
- #iowait
- #irq
- #nice
- #softirq
- #stat
- #steal
- #system
- #used(update = true)
- #user
Constructor Detail
Class Method Detail
def self.previous_info=(previous_info : NamedTuple(used: Int32, idle: Int32, total: Int32))
#