Home
last modified time | relevance | path

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

12345

/tools/perf/arch/x86/tests/
A Damd-ibs-period.c236 unsigned long long config, int freq, in fetch_prepare_attr() argument
246 attr->freq = freq; in fetch_prepare_attr()
251 unsigned long config, int freq, in op_prepare_attr() argument
261 attr->freq = freq; in op_prepare_attr()
414 int freq; member
527 if (period->freq) { in __ibs_period_constraint_test()
606 int freq; member
730 op_ioctl[i].freq ? "freq " : "period", in ibs_ioctl_test()
767 int freq; member
776 .freq = 1,
[all …]
/tools/perf/util/
A Drecord.c76 attr->freq = 0; in evsel__config_leader_sampling()
170 opts->freq = 0; in record_opts__config_freq()
171 else if (opts->freq) { in record_opts__config_freq()
198 opts->freq = max_rate; in record_opts__config_freq()
205 if (max_rate < opts->freq) { in record_opts__config_freq()
209 opts->freq, max_rate); in record_opts__config_freq()
210 opts->freq = max_rate; in record_opts__config_freq()
273 unsigned int freq; in record__parse_freq() local
280 if (get_max_rate(&freq)) { in record__parse_freq()
286 freq = atoi(str); in record__parse_freq()
[all …]
/tools/testing/selftests/intel_pstate/
A Drun.sh100 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq`
102 echo "Setting maximum frequency to $freq"
103 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
104 run_test $freq
116 for freq in `seq $max_freq -100 $min_freq`
118 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…
119 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ')
120 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' )
122 $freq
124 $((result_freq - freq))
/tools/power/cpupower/utils/
A 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
202 unsigned long freq = 0; in cmd_freq_set() local
248 if (freq) in cmd_freq_set()
251 if (freq == 0) { in cmd_freq_set()
279 if (freq && policychange) { in cmd_freq_set()
[all …]
A Dcpufreq-info.c238 unsigned long freq = cpufreq_get_freq_kernel(cpu); in get_freq_kernel() local
240 if (!freq) { in get_freq_kernel()
245 print_speed(freq, no_rounding); in get_freq_kernel()
247 printf("%lu", freq); in get_freq_kernel()
257 unsigned long freq; in get_freq_hardware() local
262 freq = cpufreq_get_freq_hardware(cpu); in get_freq_hardware()
264 if (!freq) { in get_freq_hardware()
269 print_speed(freq, no_rounding); in get_freq_hardware()
271 printf("%lu", freq); in get_freq_hardware()
/tools/testing/selftests/timers/
A Dvalid-adjtimex.c126 tx.freq = valid_freq[i]; in validate_freq()
138 if (tx.freq != valid_freq[i]) { in validate_freq()
140 tx.freq, valid_freq[i]); in validate_freq()
145 tx.freq = outofrange_freq[i]; in validate_freq()
157 if (tx.freq == outofrange_freq[i]) { in validate_freq()
160 tx.freq); in validate_freq()
170 tx.freq = invalid_freq[i]; in validate_freq()
186 tx.freq = 0; in validate_freq()
A Draw_skew.c130 ppm = (long long)(tx1.freq + tx2.freq) * 1000 / 2; in main()
136 tx1.freq != tx2.freq || tx1.tick != tx2.tick) { in main()
A Dadjtick.c123 tx1.freq = 0; in check_tick_adj()
140 if (tx1.offset || tx1.freq || tx1.tick != tickval) { in check_tick_adj()
198 tx1.freq = 0; in main()
A 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()
/tools/lib/api/
A 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()
A Dcpu.h5 int cpu__get_max_freq(unsigned long long *freq);
/tools/testing/selftests/kvm/x86/
A Dapic_bus_clock_test.c62 uint64_t tsc0, tsc1, freq; in apic_guest_code() local
89 freq = (tmict - tmcct) * tdcrs[i].divide_count * tsc_hz / (tsc1 - tsc0); in apic_guest_code()
91 __GUEST_ASSERT(freq < apic_hz * 105 / 100 && freq > apic_hz * 95 / 100, in apic_guest_code()
93 freq, apic_hz * 95 / 100, apic_hz * 105 / 100, in apic_guest_code()
/tools/perf/tests/shell/attr/
A Dtest-record-group215 freq=0
28 freq=0
A Dtest-record-group316 freq=0
29 freq=0
A Dtest-record-group-sampling232 freq=0
60 freq=0
A Dtest-record-count9 freq=0
A Dtest-record-period8 freq=0
A Dtest-record-pfm-period9 freq=0
A Dtest-record-spe-period9 freq=0
A Dtest-record-spe-period-term9 freq=0
/tools/testing/selftests/cpufreq/
A Dspecial-tests.sh104 for freq in $freqs; do
105 echo $freq > $filepath/scaling_min_freq
A Dcpufreq.sh160 for freq in $freqs; do
161 set_cpu_frequency $1 $freq
/tools/power/cpupower/debug/i386/
A Ddump_psb.c62 int freq, fid, vid; in decode_pst() local
67 freq = 100 * fid_to_mult[fid] * fsb; in decode_pst()
71 freq, in decode_pst()
/tools/testing/selftests/ptp/
A 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
/tools/perf/
A Dbuiltin-evlist.c77 OPT_BOOLEAN('F', "freq", &details.freq, "Show the sample frequency"), in cmd_evlist()
95 if (details.event_group && (details.verbose || details.freq)) { in cmd_evlist()

Completed in 17 milliseconds

12345