HomeSort by relevance Sort by last modified time
    Searched refs:governor (Results 1 - 25 of 52) sorted by null

1 2 3

  /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 126 char governor[80]; local
129 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
130 ALOGE("Can't obtain scaling governor.");
155 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
156 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
161 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
162 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
169 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
170 (strlen(governor) == strlen(ONDEMAND_GOVERNOR)))
180 char governor[80]; local
397 char governor[80]; local
    [all...]
  /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...]
utils.h 34 int get_scaling_governor(char governor[], int size);
power.c 120 char governor[80]; local
123 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
124 ALOGE("Can't obtain scaling governor.");
149 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
150 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
155 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
156 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
163 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
164 (strlen(governor) == strlen(ONDEMAND_GOVERNOR)))
174 char governor[80]; local
350 char governor[80]; local
    [all...]
  /device/google/marlin/power/
power-8996.c 59 char governor[80]; local
62 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
63 ALOGE("Can't obtain scaling governor.");
84 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
85 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
107 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) &&
108 (strlen(governor) == strlen(SCHED_GOVERNOR))) {
123 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
124 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) |
138 char governor[80]; local
171 char governor[80]; local
302 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-helper.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
409 char governor[80]; local
469 char governor[80]; local
    [all...]
utils.c 169 int get_scaling_governor(char governor[], int size)
171 if (sysfs_read(SCALING_GOVERNOR_PATH, governor,
173 // Can't obtain the scaling governor. Return.
177 int len = strlen(governor);
181 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r'))
182 governor[len--] = '\0';
188 int get_scaling_governor_check_cores(char governor[], int size,int core_num)
191 if (sysfs_read(scaling_gov_path[core_num], governor,
193 // Can't obtain the scaling governor. Return
    [all...]
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
Makefile 4 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
  /device/google/wahoo/power/
utils.h 41 int get_scaling_governor(char governor[], int size);
42 int get_scaling_governor_check_cores(char governor[], int size, int core_num);
utils.c 158 int get_scaling_governor(char governor[], int size)
160 if (sysfs_read(SCALING_GOVERNOR_PATH, governor,
162 // Can't obtain the scaling governor. Return.
166 int len = strlen(governor);
170 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r'))
171 governor[len--] = '\0';
177 int is_interactive_governor(char* governor) {
178 if (strncmp(governor, INTERACTIVE_GOVERNOR, (strlen(INTERACTIVE_GOVERNOR)+1)) == 0)
power-helper.c 158 char governor[80]; local
169 if (get_scaling_governor(governor, sizeof(governor)) == -1) {
170 ALOGE("Can't obtain scaling governor.");
177 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) &&
178 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) {
186 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
187 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
195 } else if ((strncmp(governor, MSMDCVS_GOVERNOR, strlen(MSMDCVS_GOVERNOR)) == 0) &&
196 (strlen(governor) == strlen(MSMDCVS_GOVERNOR)))
    [all...]
  /external/lisa/tests/benchmarks/
android_geekbench.py 24 def __init__(self, governor, test):
25 self.governor = governor
30 # Create a results folder for each "governor/test"
31 self.out_dir = os.path.join(self.te.res_dir, governor)
43 self.target.cpufreq.set_all_governors(self.governor);
45 self._log.warning('Governor [%s] not available on target',
46 self.governor)
50 if self.governor == 'schedutil':
75 if self.governor == 'ondemand'
    [all...]
android_gmaps.py 24 def __init__(self, governor, location_search, swipe_count):
25 self.governor = governor
31 # Create a results folder for each "governor/test"
32 self.out_dir = os.path.join(self.te.res_dir, governor,
46 self.target.cpufreq.set_all_governors(self.governor);
48 self._log.warning('Governor [%s] not available on target',
49 self.governor)
53 if self.governor == 'schedutil':
78 if self.governor == 'ondemand'
    [all...]
android_jankbench.py 25 def __init__(self, governor, test, iterations):
26 self.governor = governor
32 # Create a results folder for each "governor/test"
33 self.out_dir = os.path.join(self.te.res_dir, governor, self.test)
46 self.target.cpufreq.set_all_governors(self.governor);
48 self._log.warning('Governor [%s] not available on target',
49 self.governor)
53 if self.governor == 'schedutil':
78 if self.governor == 'ondemand'
    [all...]
android_uibench.py 24 def __init__(self, governor, test, duration_s):
25 self.governor = governor
31 # Create a results folder for each "governor/test"
32 self.out_dir = os.path.join(self.te.res_dir, governor, self.test)
45 self.target.cpufreq.set_all_governors(self.governor);
47 self._log.warning('Governor [%s] not available on target',
48 self.governor)
52 if self.governor == 'schedutil':
77 if self.governor == 'ondemand'
    [all...]
android_vellamo.py 24 def __init__(self, governor, test):
25 self.governor = governor
30 # Create a results folder for each "governor/test"
31 self.out_dir = os.path.join(self.te.res_dir, governor, self.test)
43 self.target.cpufreq.set_all_governors(self.governor);
45 self._log.warning('Governor [%s] not available on target',
46 self.governor)
50 if self.governor == 'schedutil':
75 if self.governor == 'ondemand'
    [all...]
android_youtube.py 24 def __init__(self, governor, video_url, video_duration_s):
25 self.governor = governor
31 # Create a results folder for each "governor/test"
32 self.out_dir = os.path.join(self.te.res_dir, governor,
46 self.target.cpufreq.set_all_governors(self.governor);
48 self._log.warning('Governor [%s] not available on target',
49 self.governor)
53 if self.governor == 'schedutil':
78 if self.governor == 'ondemand'
    [all...]
  /external/devlib/devlib/module/
cpufreq.py 20 # a dict of governor name and a list of it tunables that can't be read
62 """Returns the governor currently set for the specified CPU."""
68 def set_governor(self, cpu, governor, **kwargs):
70 Set the governor for the specified CPU.
73 :param cpu: The CPU for which the governor is to be set. This must be
75 :param governor: The name of the governor to be used. This must be
78 Additional keyword arguments can be used to specify governor tunables for
81 :note: On big.LITTLE all cores in a cluster must be using the same governor.
82 Setting the governor on any core in a cluster will also set it on al
    [all...]
  /device/google/wahoo/
init.power.sh 19 write $cpubw/governor "bw_hwmon"
35 write /sys/class/devfreq/soc:qcom,mincpubw/governor "cpufreq"
37 # Enable memlat governor
40 write $memlat/governor "mem_latency"
  /external/ltp/testcases/kernel/device-drivers/cpufreq/
cpufreq_boost.c 57 const char governor[] = SYSFS_CPU_DIR "cpu0/cpufreq/scaling_governor"; variable
66 if (governor[0] != '\0')
67 FILE_PRINTF(governor, "%s", governor_name);
96 /* change cpu0 scaling governor */
97 SAFE_FILE_SCANF(NULL, governor, "%s", governor_name);
98 SAFE_FILE_PRINTF(cleanup, governor, "%s", "performance");

Completed in 1431 milliseconds

1 2 3