/device/huawei/angler/power/ |
power-8992.c | 54 char governor[80]; local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 58 ALOGE("Can't obtain scaling governor."); 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 117 char governor[80]; local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power-8994.c | 100 char governor[80]; local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 104 ALOGE("Can't obtain scaling governor."); 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 179 char governor[80]; local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
utils.h | 34 int get_scaling_governor(char governor[], int size);
|
power.c | 131 char governor[80]; local 134 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 135 ALOGE("Can't obtain scaling governor."); 160 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 161 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 166 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 167 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 174 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 175 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 185 char governor[80]; local 435 char governor[80]; local [all...] |
utils.c | 156 int get_scaling_governor(char governor[], int size) 158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, 160 // Can't obtain the scaling governor. Return. 164 int len = strlen(governor); 168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) 169 governor[len--] = '\0';
|
/device/lge/bullhead/power/ |
power-8994.c | 54 char governor[80]; local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 58 ALOGE("Can't obtain scaling governor."); 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 117 char governor[80]; local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power-8992.c | 100 char governor[80]; local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 104 ALOGE("Can't obtain scaling governor."); 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 179 char governor[80]; local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power.c | 124 char governor[80]; local 127 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 128 ALOGE("Can't obtain scaling governor."); 153 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 154 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 159 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 160 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 167 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 168 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 178 char governor[80]; local 354 char governor[80]; local [all...] |
utils.h | 34 int get_scaling_governor(char governor[], int size);
|
utils.c | 156 int get_scaling_governor(char governor[], int size) 158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, 160 // Can't obtain the scaling governor. Return. 164 int len = strlen(governor); 168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) 169 governor[len--] = '\0';
|
/device/google/marlin/power/ |
power-8996.c | 57 char governor[80]; local 60 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 61 ALOGE("Can't obtain scaling governor."); 82 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 83 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 105 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && 106 (strlen(governor) == strlen(SCHED_GOVERNOR))) { 121 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 122 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) | 136 char governor[80]; local 166 char governor[80]; local 305 char governor[80]; local [all...] |
utils.h | 40 int get_scaling_governor(char governor[], int size); 41 int get_scaling_governor_check_cores(char governor[], int size,int core_num);
|
power.c | 134 char governor[80]; local 137 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 138 ALOGE("Can't obtain scaling governor."); 163 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 164 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 169 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 170 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 177 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 178 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 188 char governor[80]; local 408 char governor[80]; local 473 char governor[80]; local [all...] |
utils.c | 167 int get_scaling_governor(char governor[], int size) 169 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, 171 // Can't obtain the scaling governor. Return. 175 int len = strlen(governor); 179 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) 180 governor[len--] = '\0'; 186 int get_scaling_governor_check_cores(char governor[], int size,int core_num) 189 if (sysfs_read(scaling_gov_path[core_num], governor, 191 // Can't obtain the scaling governor. Return [all...] |
/external/chromium-trace/catapult/devil/devil/android/perf/ |
perf_control_devicetest.py | 32 for _, online, governor in cpu_info: 34 self.assertEquals('performance', governor)
|
perf_control.py | 88 governor = (output.rstrip() if status == 0 else None 91 return zip(self._cpu_files, online, governor) 141 - The scaling governor can't be set for an offline CPU and frequency scaling
|
/external/autotest/client/site_tests/power_CPUFreq/ |
power_CPUFreq.py | 58 raise error.TestError('userspace governor not supported') 68 # set cpufreq governor to userspace 93 raise error.TestError('userspace governor not supported') 99 # set cpufreq governor to userspace 168 governor = self.__read_file('scaling_governor') 169 logging.info('current governor: %s' % governor) 170 return governor.split()[0] 173 def set_governor(self, governor): 174 logging.info('setting governor to %s' % governor [all...] |
/platform_testing/scripts/perf-setup/ |
angler-setup.sh | 22 echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor
|
/external/autotest/client/site_tests/kernel_Delay/ |
kernel_Delay.py | 98 Get the current CPU quiet governor. 100 @returns: the CPU quiet governor or None if it does not exist (string) 114 @param initial_quiet_governor: initial quiet governor to reset state to 133 logging.info('changing to userspace cpuquiet governor'); 141 'cpu frequencies set to %s with userspace governor', 154 governor = self._get_file(p).rstrip() 155 if governor != 'userspace': 156 raise error.TestFail('governor changed from userspace to %s' % ( 157 governor))
|
/system/extras/tests/sdcard/ |
sysutil.cpp | 269 char governor[FILENAME_MAX]; local 270 sprintf(governor, kScalingGovernorFormat, cpu); 272 if (writeStringToFile(governor, "performance", kSilentIfMissing) < 0) 278 fprintf(stderr, "Failed to write to scaling governor file for cpu %d: %d %s",
|
/device/google/marlin/ |
init.power.sh | 16 # disable thermal hotplug to switch governor 56 # if EAS is present, switch to sched governor (no effect if not EAS) 79 write $cpubw/governor "bw_hwmon" 96 write $memlat/governor "mem_latency"
|
/device/huawei/angler/ |
init.angler.power.sh | 23 # disable thermal bcl hotplug to switch governor 46 # configure governor settings for little cluster 64 # configure governor settings for big cluster 104 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
|
/device/lge/bullhead/ |
init.bullhead.power.sh | 27 # disable thermal bcl hotplug to switch governor 57 # configure governor settings for little cluster 75 # configure governor settings for big cluster 116 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
|