Expand description
CPU information.
This module is enabled with the cpu
feature flag (enabled by default).
Modules§
- os
- OS-specific extensions.
Structs§
- CpuFrequency
- System CPU frequency.
- CpuStats
- CPU statistics.
- CpuTime
- System CPU time.
Functions§
- frequency
- Returns future which will resolve into CpuFrequency.
- logical_
count - Returns future which will resolve into a amount of logical CPUs.
- physical_
count - Returns future which will resolve into a amount of physical CPUs.
- stats
- Returns future which will resolve into CpuStats.
- time
- Returns future which will resolve into cumulative value of all CPU times.
- times
- Returns stream which will yield CPU time for each CPU.