Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 56) sorted by relevance

123

/tools/testing/selftests/intel_pstate/
Drun.sh85 for freq in `seq $max_freq -100 $min_freq`
87 echo "Setting maximum frequency to $freq"
88 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
89 [ $EVALUATE_ONLY -eq 0 ] && run_test $freq
102 for freq in `seq $max_freq -100 $min_freq`
104 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…
105 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ')
106 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' )
107 if [ $result_freq -eq $freq ]; then
108 echo " $freq $result_freq 0 $msr $(($max_perf_pct*3300))"
[all …]
/tools/power/cpupower/utils/
Dcpufreq-set.c69 unsigned long freq; in string_to_frequency() local
131 freq = strtoul(normalized, &end, 10); in string_to_frequency()
135 if (match_count && freq != ULONG_MAX) in string_to_frequency()
136 freq++; in string_to_frequency()
137 return freq; in string_to_frequency()
169 unsigned long freq, unsigned int pc) in do_one_cpu() argument
173 return cpufreq_set_frequency(cpu, freq); in do_one_cpu()
199 unsigned long freq = 0; in cmd_freq_set() local
245 if (freq) in cmd_freq_set()
247 freq = string_to_frequency(optarg); in cmd_freq_set()
[all …]
Dcpufreq-info.c253 unsigned long freq = cpufreq_get_freq_kernel(cpu); in get_freq_kernel() local
255 if (!freq) { in get_freq_kernel()
260 print_speed(freq); in get_freq_kernel()
262 printf("%lu", freq); in get_freq_kernel()
272 unsigned long freq = cpufreq_get_freq_hardware(cpu); in get_freq_hardware() local
274 if (!freq) { in get_freq_hardware()
279 print_speed(freq); in get_freq_hardware()
281 printf("%lu", freq); in get_freq_hardware()
/tools/testing/selftests/timers/
Dvalid-adjtimex.c139 tx.freq = valid_freq[i]; in validate_freq()
151 if (tx.freq != valid_freq[i]) { in validate_freq()
153 tx.freq, valid_freq[i]); in validate_freq()
158 tx.freq = outofrange_freq[i]; in validate_freq()
170 if (tx.freq == outofrange_freq[i]) { in validate_freq()
173 tx.freq); in validate_freq()
183 tx.freq = invalid_freq[i]; in validate_freq()
199 tx.freq = 0; in validate_freq()
Draw_skew.c143 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main()
144 ppm = (long long)tx1.freq * 1000; in main()
Dadjtick.c138 tx1.freq = 0; in check_tick_adj()
154 if (tx1.offset || tx1.freq || tx1.tick != tickval) { in check_tick_adj()
212 tx1.freq = 0; in main()
Dskew_consistency.c72 tx.freq = ppm << 16; in main()
Dchange_skew.c53 tx.freq = ppm << 16; in change_skew_test()
/tools/lib/api/
Dcpu.c6 int cpu__get_max_freq(unsigned long long *freq) in cpu__get_max_freq() argument
17 return sysfs__read_ull(entry, freq); in cpu__get_max_freq()
Dcpu.h4 int cpu__get_max_freq(unsigned long long *freq);
/tools/perf/util/
Drecord.c195 opts->freq = opts->user_freq; in record_opts__config_freq()
201 opts->freq = 0; in record_opts__config_freq()
202 else if (opts->freq) { in record_opts__config_freq()
203 opts->default_interval = opts->freq; in record_opts__config_freq()
215 if (user_freq && (max_rate < opts->freq)) { in record_opts__config_freq()
226 if (max_rate < opts->freq) { in record_opts__config_freq()
231 opts->freq = max_rate; in record_opts__config_freq()
Dsvghelper.c348 unsigned int freq; in cpu_model() local
349 freq = strtoull(buf, NULL, 10); in cpu_model()
350 if (freq > max_freq) in cpu_model()
351 max_freq = freq; in cpu_model()
475 void svg_pstate(int cpu, u64 start, u64 end, u64 freq) in svg_pstate() argument
485 height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT); in svg_pstate()
490 time2pixels(start), height+0.9, HzToHuman(freq)); in svg_pstate()
Devsel_fprintf.c61 } else if (details->freq) { in perf_evsel__fprintf()
64 if (!evsel->attr.freq) in perf_evsel__fprintf()
Dsvghelper.h19 void svg_pstate(int cpu, u64 start, u64 end, u64 freq);
/tools/perf/
Dbuiltin-evlist.c54 OPT_BOOLEAN('F', "freq", &details.freq, "Show the sample frequency"), in cmd_evlist()
72 if (details.event_group && (details.verbose || details.freq)) { in cmd_evlist()
Dperf.h58 unsigned int freq; member
/tools/power/cpupower/debug/i386/
Ddump_psb.c64 int freq, fid, vid; in decode_pst() local
69 freq = 100 * fid_to_mult[fid] * fsb; in decode_pst()
73 freq, in decode_pst()
/tools/perf/tests/attr/
Dtest-record-count8 freq=0
Dtest-record-period7 freq=0
Dbase-stat23 freq=0
Dbase-record23 freq=1
/tools/perf/python/
Dtwatch.py23 task = 1, comm = 1, mmap = 0, freq = 0,
Dtracepoint.py13 freq = 0, sample_period = 1, wakeup_events = 1,
/tools/perf/Documentation/
Dperf-evlist.txt24 --freq=::
/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c43 event.attr.freq = 1; in event_attributes()

123