/tools/testing/selftests/intel_pstate/ |
D | run.sh | 95 [ $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/ |
D | record.c | 73 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/ |
D | cpufreq-set.c | 68 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 …]
|
D | cpufreq-info.c | 274 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/ |
D | valid-adjtimex.c | 129 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()
|
D | raw_skew.c | 132 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()
|
D | adjtick.c | 127 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()
|
D | freq-step.c | 94 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 | .gitignore | 22 freq-step
|
D | skew_consistency.c | 60 tx.freq = ppm << 16; in main()
|
D | Makefile | 11 skew_consistency clocksource-switch freq-step leap-a-day \
|
/tools/lib/api/ |
D | cpu.c | 7 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()
|
D | cpu.h | 5 int cpu__get_max_freq(unsigned long long *freq);
|
/tools/perf/tests/attr/ |
D | test-record-group2 | 14 freq=0 27 freq=0
|
D | test-record-period | 8 freq=0
|
D | test-record-count | 9 freq=0
|
D | test-record-pfm-period | 9 freq=0
|
D | base-record | 23 freq=1
|
D | base-stat | 23 freq=0
|
D | test-record-group-sampling | 38 freq=0
|
/tools/testing/selftests/cpufreq/ |
D | special-tests.sh | 104 for freq in $freqs; do 105 echo $freq > $filepath/scaling_min_freq
|
D | cpufreq.sh | 153 for freq in $freqs; do 154 set_cpu_frequency $1 $freq
|
/tools/perf/ |
D | builtin-evlist.c | 55 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/ |
D | dump_psb.c | 64 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/ |
D | phc.sh | 117 res=$(phc_ctl $DEV freq 10000000 set 0 wait 100.5 get 2> /dev/null \ 128 phc_ctl $DEV freq 0.0 &> /dev/null
|