Module cpu
Source - CPU
- Encloses all CPU-related data available in the library
- ClockSource
- Contains currently active clock source and the available ones
- CpuFrequency
- Contains cpu frequencies, both average and processor wise
- CpuInfo
- Contains base information relative to the CPU
- CpuUsage
- Contains the average CPU usage and the discrete usage for each processor
- Frequency
- Frequency data structure implements direct conversion for frequencies
in various size orders
- Load
- Holds data structure for average load
- ProcessorFrequency
- Contains processor id and its frequency
- ProcessorUsage
- Encloses the different parameters relative to processor usage
- SchedulerPolicy
- Contains scheduler information relative to a processor in the system
- cacheLevels
- Returns a HashMap containing the size (in ByteSize) for each cache level
- clockSource
- Returns the currently active clock source and the different ones available, enclosed in
ClockSource
struct - cpuFrequency
- Returns cpu frequency, both average and processor wise
- cpuUsage
- Returns CPU usage, both average and processor-wise, each value is in percentage
- getLoad
- Returns the average load for the last one, five and fifteen minutes
- schedulerInfo
- Returns scheduler information for each processor