| /tools/perf/tests/ |
| A D | parse-metric.c | 133 double ratio; in test_ipc() local 144 ratio == 1.5); in test_ipc() 150 double ratio; in test_frontend() local 163 ratio == 0.45); in test_frontend() 169 double ratio; in test_cache_miss_cycles() local 181 ratio == 1.25); in test_cache_miss_cycles() 209 double ratio; in test_dcache_l2() local 224 ratio == 0.3); in test_dcache_l2() 230 ratio == 0.7); in test_dcache_l2() 236 double ratio; in test_recursion_fail() local [all …]
|
| /tools/testing/selftests/memory-hotplug/ |
| A D | mem-on-off-test.sh | 149 ratio=2 165 ratio=$OPTARG 166 if [ "$ratio" -gt 100 ] || [ "$ratio" -lt 0 ]; then 181 echo "Test scope: $ratio% hotplug memory" 203 target=`echo "a=$hotpluggable_num*$ratio; if ( a%100 ) a/100+1 else a/100" | bc` 204 echo -e "\t offline $ratio% hot-pluggable memory in online state" 271 if [ $((RANDOM % 100)) -lt $ratio ]; then 297 if [ $((RANDOM % 100)) -lt $ratio ]; then
|
| /tools/testing/selftests/damon/ |
| A D | damos_apply_interval.py | 60 ratio = nr_tried_stats[1] / nr_tried_stats[0] 61 if ratio < 9: 63 (nr_tried_stats[1], nr_tried_stats[0], ratio))
|
| /tools/power/cpupower/utils/ |
| A D | cpufreq-info.c | 173 unsigned int ratio; in get_boost_mode_x86() local 185 if (ratio) in get_boost_mode_x86() 187 ratio * bclk); in get_boost_mode_x86() 190 if (ratio) in get_boost_mode_x86() 192 ratio * bclk); in get_boost_mode_x86() 194 ratio = (intel_turbo_ratio >> 8) & 0xFF; in get_boost_mode_x86() 195 if (ratio) in get_boost_mode_x86() 197 ratio * bclk); in get_boost_mode_x86() 199 ratio = (intel_turbo_ratio >> 0) & 0xFF; in get_boost_mode_x86() 200 if (ratio) in get_boost_mode_x86() [all …]
|
| /tools/testing/selftests/net/forwarding/ |
| A D | sch_ets_tests.sh | 54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l) 56 test $(echo "$ratio > 95.0" | bc -l) -eq 1 59 log_info "Expected ratio >95% Measured ratio $ratio" 61 test $(echo "$ratio < 5" | bc -l) -eq 1 64 log_info "Expected ratio <5% Measured ratio $ratio"
|
| A D | lib.sh | 1250 log_info "Expected ratio $weights_ratio" 1268 log_info "Expected ratio $weights_ratio Measured ratio $packets_ratio"
|
| /tools/perf/util/ |
| A D | stat-shadow.c | 199 double ratio = 0; in print_ratio() local 346 double ratio = cycles / nsecs; in print_cycles() local 349 "GHz", ratio); in print_cycles() 501 double ratio, scale, threshold; in generic_metric() local 534 ratio *= scale; in generic_metric() 544 metric_bf, ratio); in generic_metric() 550 ratio); in generic_metric() 569 double ratio = 0.0; in test_generic_metric() local 579 ratio = 0.0; in test_generic_metric() 583 return ratio; in test_generic_metric() [all …]
|
| A D | block-info.c | 216 double ratio = 0.0; in block_total_cycles_pct_entry() local 219 ratio = (double)bi->cycles_aggr / (double)block_fmt->total_cycles; in block_total_cycles_pct_entry() 221 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry() 272 double ratio = 0.0; in block_cycles_pct_entry() local 277 ratio = (double)avg / (double)block_fmt->block_cycles; in block_cycles_pct_entry() 280 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_cycles_pct_entry()
|
| /tools/thermal/tmon/ |
| A D | tmon.h | 99 void (*set_ratio)(unsigned long ratio); 100 unsigned long (*get_ratio)(unsigned long ratio);
|
| /tools/power/x86/x86_energy_perf_policy/ |
| A D | x86_energy_perf_policy.c | 121 int ratio_2_msr_perf(int ratio) in ratio_2_msr_perf() argument 126 return ratio; in ratio_2_msr_perf() 128 msr_perf = ratio * 255 / bdx_highest_ratio; in ratio_2_msr_perf() 131 fprintf(stderr, "%d = ratio_to_msr_perf(%d)\n", msr_perf, ratio); in ratio_2_msr_perf() 137 int ratio; in msr_perf_2_ratio() local 145 ratio = (int)d; in msr_perf_2_ratio() 148 fprintf(stderr, "%d = msr_perf_ratio(%d) {%f}\n", ratio, msr_perf, d); in msr_perf_2_ratio() 150 return ratio; in msr_perf_2_ratio() 946 int ratio_2_sysfs_khz(int ratio) in ratio_2_sysfs_khz() argument 950 return ratio * bclk_khz; in ratio_2_sysfs_khz() [all …]
|
| /tools/power/x86/turbostat/ |
| A D | turbostat.c | 5416 if (ratio) in dump_turbo_ratio_limit2() 5420 if (ratio) in dump_turbo_ratio_limit2() 5435 if (ratio) in dump_turbo_ratio_limit1() 5439 if (ratio) in dump_turbo_ratio_limit1() 5443 if (ratio) in dump_turbo_ratio_limit1() 5447 if (ratio) in dump_turbo_ratio_limit1() 5451 if (ratio) in dump_turbo_ratio_limit1() 5491 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits() 5583 ratio[b_nr + 1] = ratio[b_nr] - delta_ratio; in dump_knl_turbo_ratio_limits() 5588 if (i > 0 ? ratio[i] != ratio[i - 1] : 1) in dump_knl_turbo_ratio_limits() [all …]
|
| /tools/testing/selftests/powerpc/nx-gzip/ |
| A D | README | 41 They are not intended for demonstrating performance or compression ratio.
|
| /tools/perf/ |
| A D | builtin-diff.c | 1578 double ratio; in hpp__entry_pair() local 1600 ratio = pair->diff.period_ratio; in hpp__entry_pair() 1602 ratio = compute_ratio(he, pair); in hpp__entry_pair() 1604 if (ratio > 0.0) in hpp__entry_pair() 1605 scnprintf(buf, size, "%14.6F", ratio); in hpp__entry_pair()
|
| A D | builtin-record.c | 2402 float ratio = 0; in __cmd_record() local 2863 ratio = (float)rec->session->bytes_transferred/(float)rec->session->bytes_compressed; in __cmd_record() 2864 env->comp_ratio = ratio + 0.5; in __cmd_record() 2920 if (ratio) { in __cmd_record() 2923 ratio); in __cmd_record()
|
| A D | design.txt | 172 Using these additional values one can establish the overcommit ratio for a
|
| A D | builtin-trace.c | 4894 double ratio; in trace__fprintf_thread() local 4899 ratio = (double)ttrace->nr_events / trace->nr_events * 100.0; in trace__fprintf_thread() 4903 printed += fprintf(fp, "%.1f%%", ratio); in trace__fprintf_thread()
|
| /tools/perf/Documentation/ |
| A D | perf-diff.txt | 93 Differential computation selection - delta, ratio, wdiff, cycles, 265 ratio
|
| A D | tips.txt | 64 To compare scalability of two workload samples use perf diff -c ratio file1 file2
|
| A D | topdown.txt | 155 that represent a scaled ratio that represent the Level 1 bottleneck.
|
| A D | perf.data-file-format.txt | 369 u32 ratio;
|
| A D | perf-config.txt | 625 Possible values are 'delta', 'delta-abs', 'ratio' and
|
| A D | perf-intel-pt.txt | 1018 "Power" events correspond to power event packets and CBR (core-to-bus ratio)
|
| /tools/testing/selftests/net/ |
| A D | fib_tests.sh | 2533 local ratio=$(echo "scale=2; $count / $expected" | bc -l) 2534 local res=$(echo "$ratio >= 0.95" | bc) 2536 log_test $? 0 "Multipath route hit ratio ($ratio)"
|
| /tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 471 … 0, eax, 31:0, tsc_denominator , Denominator of the TSC/'core crystal clock' ratio 472 … 0, ebx, 31:0, tsc_numerator , Numerator of the TSC/'core crystal clock' ratio 772 0x80000007, 0, ecx, 31:0, cpu_pwr_sample_ratio , CPU power sample time ratio
|