/tools/perf/scripts/python/ |
D | powerpc-hcalls.py | 176 diff = nsecs(sec, nsec) - d_enter[cpu][opcode] 179 output[opcode]['time'] += diff 181 if (output[opcode]['min'] > diff): 182 output[opcode]['min'] = diff 183 if (output[opcode]['max'] < diff): 184 output[opcode]['max'] = diff 187 'time': diff, 189 'min': diff, 190 'max': diff,
|
/tools/perf/bench/ |
D | sched-pipe.c | 81 struct timeval start, stop, diff; in bench_sched_pipe() local 148 timersub(&stop, &start, &diff); in bench_sched_pipe() 155 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe() 156 result_usec += diff.tv_usec; in bench_sched_pipe() 159 diff.tv_sec, in bench_sched_pipe() 160 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_pipe() 171 diff.tv_sec, in bench_sched_pipe() 172 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_pipe()
|
D | sched-messaging.c | 264 struct timeval start, stop, diff; in bench_sched_messaging() local 302 timersub(&stop, &start, &diff); in bench_sched_messaging() 312 diff.tv_sec, in bench_sched_messaging() 313 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_messaging() 316 printf("%lu.%03lu\n", diff.tv_sec, in bench_sched_messaging() 317 (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); in bench_sched_messaging()
|
D | numa.c | 1093 struct timeval start0, start, stop, diff; in worker_thread() local 1195 timersub(&stop, &start0, &diff); in worker_thread() 1196 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread() 1238 timersub(&stop, &start, &diff); in worker_thread() 1239 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread() 1240 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread() 1251 timersub(&stop, &start0, &diff); in worker_thread() 1252 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread() 1253 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread() 1259 timersub(&stop, &start0, &diff); in worker_thread() [all …]
|
/tools/testing/selftests/timers/ |
D | rtcpie.c | 35 struct timeval start, end, diff; in main() local 111 timersub(&end, &start, &diff); in main() 112 if (diff.tv_sec > 0 || in main() 113 diff.tv_usec > ((1000000L / tmp) * 1.10)) { in main() 115 diff.tv_sec, diff.tv_usec, in main()
|
D | posix_timers.c | 64 long long diff; in check_diff() local 66 diff = end.tv_usec - start.tv_usec; in check_diff() 67 diff += (end.tv_sec - start.tv_sec) * USECS_PER_SEC; in check_diff() 69 if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { in check_diff() 70 printf("Diff too high: %lld..", diff); in check_diff()
|
D | raw_skew.c | 72 long long diff = 0, tmp; in get_monotonic_and_raw() local 83 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw() 84 diff = newdiff; in get_monotonic_and_raw()
|
D | adjtick.c | 72 long long diff = 0, tmp; in get_monotonic_and_raw() local 87 if (diff == 0 || newdiff < diff) { in get_monotonic_and_raw() 88 diff = newdiff; in get_monotonic_and_raw()
|
/tools/testing/selftests/firmware/ |
D | fw_fallback.sh | 187 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 204 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 213 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 221 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 244 if ! diff -q "$RANDOM_FILE_PATH" /dev/test_firmware >/dev/null ; then 255 if ! diff -q "$RANDOM_FILE_PATH" /dev/test_firmware >/dev/null ; then 268 if diff -q "$RANDOM_FILE_PATH" /dev/test_firmware >/dev/null ; then
|
D | fw_filesystem.sh | 46 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 63 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 81 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 180 if ! diff -q -Z "$fwfile" $DIR/read_firmware 2>/dev/null ; then 192 if diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
|
/tools/testing/selftests/bpf/progs/ |
D | test_xdp_meta.c | 15 __u32 diff = 0; in ing_cls() local 25 diff |= ((__u32 *)data_meta)[0] ^ ((__u32 *)data)[0]; in ing_cls() 26 diff |= ((__u16 *)data_meta)[2] ^ ((__u16 *)data)[2]; in ing_cls() 28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
|
/tools/perf/Documentation/ |
D | perf-diff.txt | 1 perf-diff(1) 6 perf-diff - Read perf.data files and display the differential profile 11 'perf diff' [baseline file] [data file1] [[data file2] ... ] 25 could vary. So perf diff is based on the comparison of the files and 74 diff. 95 diff.compute config option. See COMPARISON METHODS section for 112 The default value can be set using the diff.order config option. 129 Select the second 10% time slice to diff: 131 perf diff --time 10%/2 133 Select from 0% to 10% time slice to diff: [all …]
|
/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_profile_stat.tc | 14 ! diff trace_stat/function0 $TMPDIR/function0 22 diff trace_stat/function0 $TMPDIR/function0
|
D | func-filter-glob.tc | 19 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`
|
/tools/perf/ |
D | builtin-diff.c | 274 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta() 275 pair->diff.computed = true; in compute_delta() 276 return pair->diff.period_ratio_delta; in compute_delta() 284 pair->diff.computed = true; in compute_ratio() 285 pair->diff.period_ratio = new_period / old_period; in compute_ratio() 286 return pair->diff.period_ratio; in compute_ratio() 294 pair->diff.computed = true; in compute_wdiff() 295 pair->diff.wdiff = new_period * compute_wdiff_w2 - in compute_wdiff() 298 return pair->diff.wdiff; in compute_wdiff() 578 l = llabs(left->diff.cycles); in block_cycles_diff_cmp() [all …]
|
/tools/power/cpupower/debug/kernel/ |
D | cpufreq-test_tsc.c | 56 u32 now, then, diff; in cpufreq_test_tsc() local 90 diff = (now - then) & 0xFFFFFF; in cpufreq_test_tsc() 92 …printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_… in cpufreq_test_tsc()
|
/tools/perf/arch/powerpc/ |
D | Makefile | 27 (diff -B $(sysdef) $(syskrn) >/dev/null) \ 33 (diff -B $(sysdef) $(syskrn) >/dev/null) \
|
/tools/lib/bpf/ |
D | Makefile | 171 (diff -B ../../include/uapi/linux/bpf.h ../../../include/uapi/linux/bpf.h >/dev/null) || \ 174 …(diff -B ../../include/uapi/linux/bpf_common.h ../../../include/uapi/linux/bpf_common.h >/dev/null… 177 (diff -B ../../include/uapi/linux/netlink.h ../../../include/uapi/linux/netlink.h >/dev/null) || \ 180 (diff -B ../../include/uapi/linux/if_link.h ../../../include/uapi/linux/if_link.h >/dev/null) || \ 183 (diff -B ../../include/uapi/linux/if_xdp.h ../../../include/uapi/linux/if_xdp.h >/dev/null) || \ 227 diff -u $(OUTPUT)libbpf_global_syms.tmp \
|
/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 210 unsigned long diff; in fam14h_get_count_percent() local 215 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent() 220 *percent = 100.0 * diff / timediff / 12.5; in fam14h_get_count_percent() 223 timediff, diff * 10 / 125, *percent); in fam14h_get_count_percent()
|
/tools/nfsd/ |
D | inject_fault.sh | 49 diff $BEFORE $AFTER | grep ">"
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | fib_offload.sh | 264 local diff 300 diff=$(echo "$end - $start" | bc -l) 301 test "$(echo "$diff > 60" | bc -l)" -eq 0 303 log_info "inserted $num_rts routes in $diff seconds"
|
/tools/objtool/ |
D | sync-check.sh | 24 echo diff -u $file1 $file2
|
/tools/testing/selftests/powerpc/eeh/ |
D | eeh-basic.sh | 81 lspci | diff -u $pre_lspci -
|
/tools/perf/arch/s390/ |
D | Makefile | 25 (diff -B $(sysdef) $(syskrn) >/dev/null) \
|
/tools/perf/tests/shell/ |
D | record+zstd_comp_decomp.sh | 30 diff $trace_file.comp.output $trace_file.decomp.output
|