[][src]Crate heim_cpu

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.