Searched refs:max_freq (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/intel_pstate/ |
D | run.sh | 92 max_freq=$(($_max_freq / 1000)) 95 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq` 102 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null 106 echo "The maximum frequency of the cpu is $max_freq MHz" 111 for freq in `seq $max_freq -100 $min_freq` 121 $((max_perf_pct * max_freq))
|
/tools/perf/util/ |
D | svghelper.c | 27 static u64 turbo_frequency, max_freq; variable 348 if (freq > max_freq) in cpu_model() 349 max_freq = freq; in cpu_model() 362 max_freq = __max_freq; in svg_cpu_box() 482 if (max_freq) in svg_pstate() 483 height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT); in svg_pstate()
|
D | evlist.c | 1563 int max_freq; in evlist__strerror_open() local 1565 if (sysctl__read_int("kernel/perf_event_max_sample_rate", &max_freq) < 0) in evlist__strerror_open() 1568 if (first->core.attr.sample_freq < (u64)max_freq) in evlist__strerror_open() 1575 emsg, max_freq, first->core.attr.sample_freq); in evlist__strerror_open()
|
/tools/power/cpupower/lib/ |
D | cpufreq.h | 192 int cpufreq_modify_policy_max(unsigned int cpu, unsigned long max_freq);
|
D | cpufreq.c | 648 int cpufreq_modify_policy_max(unsigned int cpu, unsigned long max_freq) in cpufreq_modify_policy_max() argument 652 snprintf(value, SYSFS_PATH_MAX, "%lu", max_freq); in cpufreq_modify_policy_max()
|
/tools/perf/ |
D | builtin-timechart.c | 59 max_freq, /* Highest CPU frequency seen */ member 396 if ((u64)new_freq > tchart->max_freq) in p_state_change() 397 tchart->max_freq = new_freq; in p_state_change() 402 if (new_freq == tchart->max_freq - 1000) in p_state_change() 403 tchart->turbo_frequency = tchart->max_freq; in p_state_change() 1490 svg_cpu_box(i, tchart->max_freq, tchart->turbo_frequency); in write_svg_file()
|