/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_ldst.c | 42 int consume_stack(unsigned long target_sp, unsigned long stack_high, int delta, enum access_type ty… in consume_stack() argument 48 return consume_stack(target_sp, stack_high, delta, type); in consume_stack() 59 target = stack_high - delta + 1; in consume_stack() 114 int child(unsigned int stack_used, int delta, enum access_type type) in child() argument 120 assert(consume_stack(stack_high - stack_used, stack_high, delta, type) == 0); in child() 123 type == LOAD ? "load" : "store", delta, stack_used, stack_high, in child() 129 static int test_one(unsigned int stack_used, int delta, enum access_type type) in test_one() argument 136 exit(child(stack_used, delta, type)); in test_one() 147 type == LOAD ? "load" : "store", delta, stack_used, in test_one() 159 unsigned long delta; in test_one_type() local [all …]
|
D | bad_accesses.c | 122 unsigned long base, delta; in test() local 125 delta = 1ul << j; in test() 127 if (delta >= base) in test() 130 addr = (base | delta) & ~((1 << page_shift) - 1); in test()
|
/tools/testing/selftests/bpf/progs/ |
D | test_check_mtu.c | 38 int delta = 0; in xdp_use_helper() local 44 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) { in xdp_use_helper() 67 int delta; in xdp_exceed_mtu() local 71 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in xdp_exceed_mtu() 73 err = bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0); in xdp_exceed_mtu() 93 int delta; in xdp_minus_delta() local 96 delta = -((data_len - ETH_HLEN) + 1); in xdp_minus_delta() 101 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) in xdp_minus_delta() 161 int delta = 0; in tc_use_helper() local 163 if (bpf_check_mtu(ctx, 0, &mtu_len, delta, 0)) { in tc_use_helper() [all …]
|
D | bpf_cubic.c | 200 __s32 delta; in BPF_PROG() local 202 delta = now - tcp_sk(sk)->lsndtime; in BPF_PROG() 207 if (ca->epoch_start && delta > 0) { in BPF_PROG() 208 ca->epoch_start += delta; in BPF_PROG() 275 __u32 delta, bic_target, max_cnt; in bictcp_update() local 338 delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ); in bictcp_update() 340 bic_target = ca->bic_origin_point - delta; in bictcp_update() 342 bic_target = ca->bic_origin_point + delta; in bictcp_update() 365 delta = (cwnd * scale) >> 3; in bictcp_update() 366 if (ca->ack_cnt > delta && delta) { in bictcp_update() [all …]
|
D | bpf_iter_tcp4.c | 41 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t() argument 43 if (delta <= 0) in jiffies_delta_to_clock_t() 46 return jiffies_to_clock_t(delta); in jiffies_delta_to_clock_t() 153 long delta; in dump_tw_sock() local 155 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock() 166 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, in dump_tw_sock()
|
D | bpf_iter_tcp6.c | 41 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t() argument 43 if (delta <= 0) in jiffies_delta_to_clock_t() 46 return jiffies_to_clock_t(delta); in jiffies_delta_to_clock_t() 158 long delta; in dump_tw_sock() local 160 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock() 175 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, in dump_tw_sock()
|
D | netif_receive_skb.c | 41 int i, delta = 0; in __strncmp() local 44 delta = s1[i] - s2[i]; in __strncmp() 45 if (delta || s1[i] == 0 || s2[i] == 0) in __strncmp() 48 return delta; in __strncmp()
|
D | test_spin_lock.c | 46 #define CREDIT_PER_NS(delta, rate) (((delta) * rate) >> 20) argument
|
/tools/perf/arch/x86/tests/ |
D | rdpmc.c | 41 u64 count, cyc = 0, time_offset = 0, enabled, running, delta; in mmap_read_self() local 70 delta = time_offset + quot * time_mult + in mmap_read_self() 73 enabled += delta; in mmap_read_self() 75 running += delta; in mmap_read_self() 133 u64 stamp, now, delta; in __test__rdpmc() local 143 delta = now - stamp; in __test__rdpmc() 144 pr_debug("%14d: %14Lu\n", n, (long long)delta); in __test__rdpmc() 146 delta_sum += delta; in __test__rdpmc()
|
/tools/lib/traceevent/ |
D | kbuffer-parse.c | 281 unsigned int delta; in old_update_pointers() local 290 delta = ts4host(kbuf, type_len_ts); in old_update_pointers() 300 extend += delta; in old_update_pointers() 301 delta = extend; in old_update_pointers() 323 kbuf->timestamp += delta; in old_update_pointers() 346 unsigned long long *delta, int *length) in translate_data() argument 356 *delta = ts4host(kbuf, type_len_ts); in translate_data() 368 extend += *delta; in translate_data() 369 *delta = extend; in translate_data() 390 unsigned long long delta; in update_pointers() local [all …]
|
D | kbuffer.h | 60 unsigned long long delta; member
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | router_scale.sh | 72 local delta=$((t1 - t0)) 73 echo $delta 74 [[ $delta -ge $route_count ]] 115 local delta 121 delta=$(busywait "$TIMEOUT" wait_for_routes $t0 $route_count) 123 check_err_fail $should_fail $? "Offload routes: Expected $route_count, got $delta."
|
D | qos_dscp_router.sh | 210 local delta=$((dev2_t1s[$i] - dev2_t0s[$i])) 211 ((expect2 == delta)) 212 check_err $? "DSCP $dscpi@$dev2: Expected to capture $expect2 packets, got $delta." 214 delta=$((dev1_t1s[$i] - dev1_t0s[$i])) 215 ((expect3 == delta)) 216 check_err $? "DSCP $dscpi@$dev1: Expected to capture $expect3 packets, got $delta."
|
D | qos_dscp_bridge.sh | 170 local delta=$((t1s[$key] - t0s[$key])) 171 ((expect == delta)) 172 check_err $? "DSCP $key: Expected to capture $expect packets, got $delta."
|
/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 113 struct bpf_perf_event_value val, delta, *prev_val, *cgrp_val; in bperf_cgroup_count() local 149 delta.counter = val.counter - prev_val->counter; in bperf_cgroup_count() 150 delta.enabled = val.enabled - prev_val->enabled; in bperf_cgroup_count() 151 delta.running = val.running - prev_val->running; in bperf_cgroup_count() 163 cgrp_val->counter += delta.counter; in bperf_cgroup_count() 164 cgrp_val->enabled += delta.enabled; in bperf_cgroup_count() 165 cgrp_val->running += delta.running; in bperf_cgroup_count() 168 &delta, BPF_ANY); in bperf_cgroup_count()
|
/tools/testing/selftests/timers/ |
D | inconsistency-check.c | 123 unsigned long long delta; in consistency_test() local 134 delta = list[inconsistent].tv_sec * NSEC_PER_SEC; in consistency_test() 135 delta += list[inconsistent].tv_nsec; in consistency_test() 136 delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC; in consistency_test() 137 delta -= list[inconsistent+1].tv_nsec; in consistency_test() 138 printf("Delta: %llu ns\n", delta); in consistency_test()
|
/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 52 local delta=$((t1 - t0)) 54 ((expect <= delta && delta <= expect + 2)) 55 check_err $? "Expected to capture $expect packets, got $delta."
|
D | vxlan_bridge_1d.sh | 403 local delta=$((t1s[$key] - t0s[$key])) 406 ((expect == delta)) 407 check_err $? "${counters[$key]}: Expected to capture $expect packets, got $delta." 495 local delta=$((t1 - t0)) 498 ((expect <= delta && delta <= expect + 2)) 499 check_err $? "$capture_dev: Expected to capture $expect packets, got $delta." 615 local delta=$((t1 - t0)) 618 ((expect <= delta && delta <= expect + 2)) 619 check_err $? "Expected to capture $expect packets, got $delta."
|
D | vxlan_bridge_1q.sh | 508 local delta=$((t1s[$key] - t0s[$key])) 511 ((expect == delta)) 512 check_err $? "${counters[$key]}: Expected to capture $expect packets, got $delta." 696 local delta=$((t1 - t0)) 699 ((expect <= delta && delta <= expect + 2)) 700 check_err $? "$capture_dev: Expected to capture $expect packets, got $delta."
|
/tools/perf/ |
D | builtin-sched.c | 325 u64 T0, T1, delta, min_delta = NSEC_PER_SEC; in calibrate_run_measurement_overhead() local 332 delta = T1-T0; in calibrate_run_measurement_overhead() 333 min_delta = min(min_delta, delta); in calibrate_run_measurement_overhead() 342 u64 T0, T1, delta, min_delta = NSEC_PER_SEC; in calibrate_sleep_measurement_overhead() local 349 delta = T1-T0; in calibrate_sleep_measurement_overhead() 350 min_delta = min(min_delta, delta); in calibrate_sleep_measurement_overhead() 749 u64 T0, T1, delta, avg_delta, fluct; in run_one_test() local 755 delta = T1 - T0; in run_one_test() 756 sched->sum_runtime += delta; in run_one_test() 760 if (delta < avg_delta) in run_one_test() [all …]
|
/tools/lib/perf/ |
D | mmap.c | 346 u64 delta; in perf_mmap__read_self() local 351 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self() 353 count->ena += delta; in perf_mmap__read_self() 355 count->run += delta; in perf_mmap__read_self()
|
/tools/perf/Documentation/ |
D | perf-diff.txt | 93 Differential computation selection - delta, ratio, wdiff, cycles, 94 delta-abs (default is delta-abs). Default can be changed using 198 and possible computation results (delta) in their related column. 244 delta 261 delta-abs 263 Same as 'delta` method, but sort the result with the absolute values.
|
D | examples.txt | 74 Total 1148 (delta 690), reused 1148 (delta 690) 128 Total 1148 (delta 690), reused 1148 (delta 690)
|
/tools/testing/selftests/net/ |
D | timestamping.c | 502 struct timeval delta; in main() local 512 delta.tv_sec = delta_us / 1000000; in main() 513 delta.tv_usec = delta_us % 1000000; in main() 522 res = select(sock + 1, &readfs, 0, &errorfs, &delta); in main()
|
/tools/perf/util/ |
D | stat.c | 21 double delta; in update_stats() local 24 delta = val - stats->mean; in update_stats() 25 stats->mean += delta / stats->n; in update_stats() 26 stats->M2 += delta*(val - stats->mean); in update_stats()
|