powerd++
0.4.4
|
Defines a collection of constants. More...
#include "types.hpp"
Go to the source code of this file.
Namespaces | |
constants | |
A collection of constants. | |
Variables | |
const char *const | constants::CP_TIMES = "kern.cp_times" |
The MIB name for per-CPU time statistics. | |
const char *const | constants::ACLINE = "hw.acpi.acline" |
The MIB name for the AC line state. | |
const char *const | constants::FREQ = "dev.cpu.%d.freq" |
The MIB name for CPU frequencies. | |
const char *const | constants::FREQ_LEVELS = "dev.cpu.%d.freq_levels" |
The MIB name for CPU frequency levels. | |
const char *const | constants::TEMPERATURE = "dev.cpu.%d.temperature" |
The MIB name for CPU temperatures. | |
const char *const | constants::TJMAX_SOURCES [] |
An array of maximum temperature sources. More... | |
const char *const | constants::FREQ_DRIVER = "dev.cpufreq.%d.freq_driver" |
The MIB name for the CPU frequency drivers. | |
const char *const | constants::FREQ_DRIVER_BLACKLIST [] |
A list of driver prefixes, that are known not to allow manual frequency control. More... | |
const types::mhz_t | constants::FREQ_DEFAULT_MAX {1000000} |
Default maximum clock frequency value. | |
const types::mhz_t | constants::FREQ_DEFAULT_MIN {0} |
Default minimum clock frequency value. | |
const types::mhz_t | constants::FREQ_UNSET {1000001} |
Clock frequency representing an uninitialised value. | |
const char *const | constants::POWERD_PIDFILE = "/var/run/powerd.pid" |
The default pidfile name of powerd. | |
const types::cptime_t | constants::ADP {512} |
The load target for adaptive mode, equals 50% load. | |
const types::cptime_t | constants::HADP {384} |
The load target for hiadaptive mode, equals 37.5% load. | |
const types::decikelvin_t | constants::HITEMP_OFFSET {100} |
The default temperautre offset between high and critical temperature. | |
Defines a collection of constants.