/tools/testing/selftests/intel_pstate/ |
D | run.sh | 85 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/ |
D | cpufreq-set.c | 69 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 …]
|
D | cpufreq-info.c | 253 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/ |
D | valid-adjtimex.c | 139 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()
|
D | raw_skew.c | 143 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main() 144 ppm = (long long)tx1.freq * 1000; in main()
|
D | adjtick.c | 138 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()
|
D | skew_consistency.c | 72 tx.freq = ppm << 16; in main()
|
D | change_skew.c | 53 tx.freq = ppm << 16; in change_skew_test()
|
/tools/lib/api/ |
D | cpu.c | 6 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()
|
D | cpu.h | 4 int cpu__get_max_freq(unsigned long long *freq);
|
/tools/perf/util/ |
D | record.c | 195 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()
|
D | svghelper.c | 348 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()
|
D | evsel_fprintf.c | 61 } else if (details->freq) { in perf_evsel__fprintf() 64 if (!evsel->attr.freq) in perf_evsel__fprintf()
|
D | svghelper.h | 19 void svg_pstate(int cpu, u64 start, u64 end, u64 freq);
|
/tools/perf/ |
D | builtin-evlist.c | 54 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()
|
D | perf.h | 58 unsigned int freq; member
|
/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/perf/tests/attr/ |
D | test-record-count | 8 freq=0
|
D | test-record-period | 7 freq=0
|
D | base-stat | 23 freq=0
|
D | base-record | 23 freq=1
|
/tools/perf/python/ |
D | twatch.py | 23 task = 1, comm = 1, mmap = 0, freq = 0,
|
D | tracepoint.py | 13 freq = 0, sample_period = 1, wakeup_events = 1,
|
/tools/perf/Documentation/ |
D | perf-evlist.txt | 24 --freq=::
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | event_attributes_test.c | 43 event.attr.freq = 1; in event_attributes()
|