cpufreq: Rank modules and choose the best one

This commit is contained in:
Pawel Dziepak
2013-11-25 00:08:13 +01:00
parent 13a89839fc
commit 1e8ed5558d
3 changed files with 15 additions and 2 deletions
+2
View File
@@ -17,6 +17,8 @@ const int kCPUPerformanceScaleMax = 1000;
typedef struct cpufreq_module_info {
module_info info;
float rank;
status_t (*increase_performance)(int delta, bool allowBoost);
status_t (*decrease_performance)(int delta);
} cpufreq_module_info;