|
libdvfs
2.0
A light library to set CPU governor and freqency
|
Represents on core. More...
Data Fields | |
| unsigned int | id |
| Core id as declared by Linux. | |
| unsigned int | nb_freqs |
| Number of frequencies available for this core. | |
| unsigned int * | freqs |
| Available frequencies for this core, sorted by increasing order. | |
| FILE * | fd_setf |
File descriptor toward the set_speed file. | |
| FILE * | fd_getf |
Descriptor toward the cur_freq file. | |
| char | init_gov [128] |
| Governor used when core get initialised. | |
| unsigned int | init_freq |
| Freqency used when core get initialised. | |
| sem_t * | sem |
| Semaphore for sequentialization. More... | |
Represents on core.
A core allows to control CPU Core governor and frequency.
| sem_t* sem |
Semaphore for sequentialization.
Can be NULL.
1.8.9.1