powerd++
0.4.4
|
A collection of type aliases. More...
Typedefs | |
typedef std::chrono::milliseconds | ms |
Millisecond type for polling intervals. | |
typedef int | coreid_t |
Type for CPU core indexing. | |
typedef unsigned long | cptime_t |
Type for load counting. More... | |
typedef unsigned int | mhz_t |
Type for CPU frequencies in MHz. | |
typedef int | decikelvin_t |
Type for temperatures in dK. | |
A collection of type aliases.
typedef unsigned long types::cptime_t |
Type for load counting.
According to src/sys/kern/kern_clock.c the type is long
(an array of loads long[CPUSTATES]
is defined). But in order to have defined wrapping characteristics unsigned long
will be used here.