|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/cpufreq.h>#include <linux/cpu.h>#include <linux/jiffies.h>#include <linux/kernel_stat.h>#include <linux/mutex.h>#include <linux/hrtimer.h>#include <linux/tick.h>#include <linux/ktime.h>#include <linux/sched.h>Go to the source code of this file.
Data Structures | |
| struct | cpu_dbs_info_s |
| struct | dbs_tuners |
Macros | |
| #define | DEF_FREQUENCY_UP_THRESHOLD (80) |
| #define | DEF_FREQUENCY_DOWN_THRESHOLD (20) |
| #define | MIN_SAMPLING_RATE_RATIO (2) |
| #define | LATENCY_MULTIPLIER (1000) |
| #define | MIN_LATENCY_MULTIPLIER (100) |
| #define | DEF_SAMPLING_DOWN_FACTOR (1) |
| #define | MAX_SAMPLING_DOWN_FACTOR (10) |
| #define | TRANSITION_LATENCY_LIMIT (10 * 1000 * 1000) |
| #define | show_one(file_name, object) |
Functions | |
| define_one_global_ro (sampling_rate_min) | |
| show_one (sampling_rate, sampling_rate) | |
| show_one (sampling_down_factor, sampling_down_factor) | |
| show_one (up_threshold, up_threshold) | |
| show_one (down_threshold, down_threshold) | |
| show_one (ignore_nice_load, ignore_nice) | |
| show_one (freq_step, freq_step) | |
| define_one_global_rw (sampling_rate) | |
| define_one_global_rw (sampling_down_factor) | |
| define_one_global_rw (up_threshold) | |
| define_one_global_rw (down_threshold) | |
| define_one_global_rw (ignore_nice_load) | |
| define_one_global_rw (freq_step) | |
| MODULE_AUTHOR ("Alexander Clouter <[email protected]>") | |
| MODULE_DESCRIPTION ("'cpufreq_conservative' - A dynamic cpufreq governor for ""Low Latency Frequency Transition capable processors ""optimised for use in a battery environment") | |
| MODULE_LICENSE ("GPL") | |
| module_init (cpufreq_gov_dbs_init) | |
| module_exit (cpufreq_gov_dbs_exit) | |
| #define DEF_FREQUENCY_DOWN_THRESHOLD (20) |
Definition at line 33 of file cpufreq_conservative.c.
| #define DEF_FREQUENCY_UP_THRESHOLD (80) |
Definition at line 32 of file cpufreq_conservative.c.
| #define DEF_SAMPLING_DOWN_FACTOR (1) |
Definition at line 51 of file cpufreq_conservative.c.
| #define LATENCY_MULTIPLIER (1000) |
Definition at line 49 of file cpufreq_conservative.c.
| #define MAX_SAMPLING_DOWN_FACTOR (10) |
Definition at line 52 of file cpufreq_conservative.c.
| #define MIN_LATENCY_MULTIPLIER (100) |
Definition at line 50 of file cpufreq_conservative.c.
| #define MIN_SAMPLING_RATE_RATIO (2) |
Definition at line 45 of file cpufreq_conservative.c.
| #define show_one | ( | file_name, | |
| object | |||
| ) |
| #define TRANSITION_LATENCY_LIMIT (10 * 1000 * 1000) |
Definition at line 53 of file cpufreq_conservative.c.
| define_one_global_ro | ( | sampling_rate_min | ) |
| define_one_global_rw | ( | sampling_rate | ) |
| define_one_global_rw | ( | sampling_down_factor | ) |
| define_one_global_rw | ( | up_threshold | ) |
| define_one_global_rw | ( | down_threshold | ) |
| define_one_global_rw | ( | ignore_nice_load | ) |
| define_one_global_rw | ( | freq_step | ) |
| MODULE_AUTHOR | ( | "Alexander Clouter <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "'cpufreq_conservative' - A dynamic cpufreq governor for ""Low Latency Frequency Transition capable processors ""optimised for use in a battery environment" | ) |
| module_exit | ( | cpufreq_gov_dbs_exit | ) |
| module_init | ( | cpufreq_gov_dbs_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| show_one | ( | sampling_rate | , |
| sampling_rate | |||
| ) |
| show_one | ( | sampling_down_factor | , |
| sampling_down_factor | |||
| ) |
| show_one | ( | up_threshold | , |
| up_threshold | |||
| ) |
| show_one | ( | down_threshold | , |
| down_threshold | |||
| ) |
| show_one | ( | ignore_nice_load | , |
| ignore_nice | |||
| ) |
| show_one | ( | freq_step | , |
| freq_step | |||
| ) |
1.8.2