Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/intel_pstate/
Drun.sh95 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq`
97 echo "Setting maximum frequency to $freq"
98 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
99 run_test $freq
111 for freq in `seq $max_freq -100 $min_freq`
113 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…
114 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ')
115 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' )
117 $freq
119 $((result_freq - freq))
/tools/perf/util/
Drecord.c73 attr->freq = 0; in evsel__config_leader_sampling()
163 opts->freq = opts->user_freq; in record_opts__config_freq()
169 opts->freq = 0; in record_opts__config_freq()
170 else if (opts->freq) { in record_opts__config_freq()
171 opts->default_interval = opts->freq; in record_opts__config_freq()
183 if (user_freq && (max_rate < opts->freq)) { in record_opts__config_freq()
195 max_rate, opts->freq, max_rate); in record_opts__config_freq()
197 opts->freq = max_rate; in record_opts__config_freq()
204 if (max_rate < opts->freq) { in record_opts__config_freq()
209 opts->freq = max_rate; in record_opts__config_freq()
[all …]
/tools/power/cpupower/utils/
Dcpufreq-set.c68 unsigned long freq; in string_to_frequency() local
134 freq = strtoul(normalized, &end, 10); in string_to_frequency()
138 if (match_count && freq != ULONG_MAX) in string_to_frequency()
139 freq++; in string_to_frequency()
140 return freq; in string_to_frequency()
172 unsigned long freq, unsigned int pc) in do_one_cpu() argument
176 return cpufreq_set_frequency(cpu, freq); in do_one_cpu()
202 unsigned long freq = 0; in cmd_freq_set() local
248 if (freq) in cmd_freq_set()
250 freq = string_to_frequency(optarg); in cmd_freq_set()
[all …]
Dcpufreq-info.c274 unsigned long freq = cpufreq_get_freq_kernel(cpu); in get_freq_kernel() local
276 if (!freq) { in get_freq_kernel()
281 print_speed(freq); in get_freq_kernel()
283 printf("%lu", freq); in get_freq_kernel()
293 unsigned long freq = cpufreq_get_freq_hardware(cpu); in get_freq_hardware() local
295 if (!freq) { in get_freq_hardware()
300 print_speed(freq); in get_freq_hardware()
302 printf("%lu", freq); in get_freq_hardware()
/tools/testing/selftests/timers/
Dvalid-adjtimex.c129 tx.freq = valid_freq[i]; in validate_freq()
141 if (tx.freq != valid_freq[i]) { in validate_freq()
143 tx.freq, valid_freq[i]); in validate_freq()
148 tx.freq = outofrange_freq[i]; in validate_freq()
160 if (tx.freq == outofrange_freq[i]) { in validate_freq()
163 tx.freq); in validate_freq()
173 tx.freq = invalid_freq[i]; in validate_freq()
189 tx.freq = 0; in validate_freq()
Draw_skew.c132 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main()
133 ppm = (long long)tx1.freq * 1000; in main()
139 tx1.freq != tx2.freq || tx1.tick != tx2.tick) { in main()
Dadjtick.c127 tx1.freq = 0; in check_tick_adj()
144 if (tx1.offset || tx1.freq || tx1.tick != tickval) { in check_tick_adj()
202 tx1.freq = 0; in main()
Dfreq-step.c94 static void set_frequency(double freq) in set_frequency() argument
99 tick_offset = 1e6 * freq / user_hz; in set_frequency()
103 txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16); in set_frequency()
D.gitignore22 freq-step
Dskew_consistency.c60 tx.freq = ppm << 16; in main()
DMakefile11 skew_consistency clocksource-switch freq-step leap-a-day \
/tools/lib/api/
Dcpu.c7 int cpu__get_max_freq(unsigned long long *freq) in cpu__get_max_freq() argument
18 return sysfs__read_ull(entry, freq); in cpu__get_max_freq()
Dcpu.h5 int cpu__get_max_freq(unsigned long long *freq);
/tools/perf/tests/attr/
Dtest-record-group214 freq=0
27 freq=0
Dtest-record-period8 freq=0
Dtest-record-count9 freq=0
Dtest-record-pfm-period9 freq=0
Dbase-record23 freq=1
Dbase-stat23 freq=0
Dtest-record-group-sampling38 freq=0
/tools/testing/selftests/cpufreq/
Dspecial-tests.sh104 for freq in $freqs; do
105 echo $freq > $filepath/scaling_min_freq
Dcpufreq.sh153 for freq in $freqs; do
154 set_cpu_frequency $1 $freq
/tools/perf/
Dbuiltin-evlist.c55 OPT_BOOLEAN('F', "freq", &details.freq, "Show the sample frequency"), in cmd_evlist()
73 if (details.event_group && (details.verbose || details.freq)) { in cmd_evlist()
/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/testing/selftests/ptp/
Dphc.sh117 res=$(phc_ctl $DEV freq 10000000 set 0 wait 100.5 get 2> /dev/null \
128 phc_ctl $DEV freq 0.0 &> /dev/null

1234