Home
last modified time | relevance | path

Searched refs:governor (Results 1 – 23 of 23) sorted by relevance

/tools/power/cpupower/bench/
DREADME-BENCH9 - Identify average reaction time of a governor to CPU load changes
10 - (Stress) Testing whether a cpufreq low level driver or governor works
14 processes with a higher prio than the governor's kernel thread
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
28 For that purpose, it compares the performance governor to a configured
57 governor.
58 Then the above test runs are processed using the performance governor
59 and the governor to test. The time the calculation really needed
60 with the dynamic freq scaling governor is compared with the time needed
64 Example of expected results with ondemand governor:
[all …]
Dsystem.c46 int set_cpufreq_governor(char *governor, unsigned int cpu) in set_cpufreq_governor() argument
49 dprintf("set %s as cpufreq governor\n", governor); in set_cpufreq_governor()
57 if (cpufreq_modify_policy_governor(cpu, governor) != 0) { in set_cpufreq_governor()
59 fprintf(stderr, "error: unable to set %s governor\n", governor); in set_cpufreq_governor()
Dparse.c135 strncpy(config->governor, "ondemand", sizeof(config->governor)); in prepare_default_config()
211 strncpy(config->governor, val, in prepare_config()
212 sizeof(config->governor)); in prepare_config()
213 config->governor[sizeof(config->governor) - 1] = '\0'; in prepare_config()
Dsystem.h11 int set_cpufreq_governor(char *governor, unsigned int cpu);
Dexample.cfg11 governor = ondemand
Dparse.h19 char governor[15]; /* cpufreq governor */ member
Dmain.c105 strncpy(config->governor, optarg, 14); in main()
175 config->governor); in main()
Dbenchmark.c146 if (set_cpufreq_governor(config->governor, config->cpu) != 0) in start_benchmark()
/tools/power/cpupower/lib/
Dcpufreq.c235 policy->governor = sysfs_cpufreq_get_one_string(cpu, SCALING_GOVERNOR); in cpufreq_get_policy()
236 if (!policy->governor) { in cpufreq_get_policy()
243 free(policy->governor); in cpufreq_get_policy()
253 if ((!policy) || (!policy->governor)) in cpufreq_put_policy()
256 free(policy->governor); in cpufreq_put_policy()
257 policy->governor = NULL; in cpufreq_put_policy()
294 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors()
295 if (!current->governor) in cpufreq_get_available_governors()
298 memcpy(current->governor, linebuf + pos, i - pos); in cpufreq_get_available_governors()
299 current->governor[i - pos] = '\0'; in cpufreq_get_available_governors()
[all …]
Dcpufreq.h14 char *governor; member
18 char *governor; member
187 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
/tools/power/cpupower/utils/
Dcpufreq-set.c156 if (!new_pol->governor) in do_new_policy()
157 new_pol->governor = cur_pol->governor; in do_new_policy()
182 else if (new_pol->governor) in do_one_cpu()
184 new_pol->governor); in do_one_cpu()
205 .governor = NULL, in cmd_freq_set()
253 if (new_pol.governor) in cmd_freq_set()
264 new_pol.governor = gov; in cmd_freq_set()
Dcpufreq-info.c80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output()
361 policy->governor); in get_policy()
380 printf("%s ", governors->governor); in get_available_governors()
383 printf("%s\n", governors->governor); in get_available_governors()
/tools/testing/selftests/cpufreq/
Dgovernor.sh138 for governor in $governors; do
139 $1 $2 $governor
DMakefile5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
Dspecial-tests.sh17 source governor.sh
Dmodule.sh15 source governor.sh
Dmain.sh6 source governor.sh
/tools/power/cpupower/po/
Dfr.po235 " minimum CPU frequency - maximum CPU frequency - governor\n"
345 "The governor \"%s\" may decide which speed to use\n"
547 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
556 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
564 msgid " -g GOV, --governor GOV new cpufreq governor\n"
565 msgstr " -g GOV, --governor GOV active le régulateur GOV\n"
571 " governor to be available and loaded\n"
617 "- Is the governor you requested available and modprobed?\n"
619 "- Trying to set a specific frequency, but userspace governor is not "
623 " or because the userspace governor isn't loaded?\n"
[all …]
Dit.po235 " minimum CPU frequency - maximum CPU frequency - governor\n"
345 "The governor \"%s\" may decide which speed to use\n"
550 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
559 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
567 msgid " -g GOV, --governor GOV new cpufreq governor\n"
568 msgstr " -g GOV, --governor GOV nuovo gestore cpufreq\n"
574 " governor to be available and loaded\n"
626 "- Is the governor you requested available and modprobed?\n"
628 "- Trying to set a specific frequency, but userspace governor is not "
632 " or because the userspace governor isn't loaded?\n"
[all …]
Dpt.po233 " minimum CPU frequency - maximum CPU frequency - governor\n"
344 "The governor \"%s\" may decide which speed to use\n"
553 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
562 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
570 msgid " -g GOV, --governor GOV new cpufreq governor\n"
571 msgstr " -g GOV, --governor GOV novo regulador do cpufreq\n"
577 " governor to be available and loaded\n"
627 "- Is the governor you requested available and modprobed?\n"
629 "- Trying to set a specific frequency, but userspace governor is not "
633 " or because the userspace governor isn't loaded?\n"
[all …]
Dcs.po240 " minimum CPU frequency - maximum CPU frequency - governor\n"
350 "The governor \"%s\" may decide which speed to use\n"
547 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
556 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
564 msgid " -g GOV, --governor GOV new cpufreq governor\n"
571 " governor to be available and loaded\n"
620 "- Is the governor you requested available and modprobed?\n"
622 "- Trying to set a specific frequency, but userspace governor is not "
626 " or because the userspace governor isn't loaded?\n"
645 "-g/--governor parameters\n"
[all …]
Dde.po249 " minimum CPU frequency - maximum CPU frequency - governor\n"
359 "The governor \"%s\" may decide which speed to use\n"
565 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
574 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
582 msgid " -g GOV, --governor GOV new cpufreq governor\n"
589 " governor to be available and loaded\n"
640 "- Is the governor you requested available and modprobed?\n"
642 "- Trying to set a specific frequency, but userspace governor is not "
646 " or because the userspace governor isn't loaded?\n"
668 "-g/--governor parameters\n"
[all …]
/tools/power/cpupower/
Dcpupower-completion.sh27 -g| --governor)