diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-10-19 13:12:10 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:39:12 -0800 |
commit | d3556e45b9d1c461968e646abedecd081c69bdcd (patch) | |
tree | 3fbb99c6a87e75c47d6ee03f2beae095ec496bab /drivers/cpufreq | |
parent | acacdd29a10659d847ecc2e798f7620096b319c5 (diff) |
power: cpufreq interactive governor: use default sample time 20ms
Lower the default time at which a higher speed is allowed to run
before lowering based on lower CPU load from 80ms to 20ms. Most
Android devices should trade power for performance here,
although tablets and non-battery-powered devices may want to
override this default.
Change-Id: I1a4f7faeca12793c51d5b92db30a63cca8d4f1be
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq_interactive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index adf5f6856299..e1d5015f1f5e 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b/drivers/cpufreq/cpufreq_interactive.c @@ -65,7 +65,7 @@ static unsigned long go_maxspeed_load; /* * The minimum amount of time to spend at a frequency before we can ramp down. */ -#define DEFAULT_MIN_SAMPLE_TIME 80000; +#define DEFAULT_MIN_SAMPLE_TIME 20000; static unsigned long min_sample_time; /* |