power: cpufreq interactive governor: use default sample time 20ms
authorTodd Poynor <toddpoynor@google.com>
Wed, 19 Oct 2011 20:12:10 +0000 (13:12 -0700)
committerTodd Poynor <toddpoynor@google.com>
Thu, 20 Oct 2011 18:59:03 +0000 (11:59 -0700)
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>
drivers/cpufreq/cpufreq_interactive.c

index adf5f68562991d07e0c3810910ccfe26a7809e18..e1d5015f1f5e55832cac614fca1ad8e4050c0fe2 100644 (file)
@@ -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;
 
 /*