Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 36) sorted by relevance

12

/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c42 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 …]
Dbad_accesses.c122 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/perf/arch/x86/tests/
Drdpmc.c41 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/testing/selftests/drivers/net/mlxsw/
Drouter_scale.sh72 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."
Dqos_dscp_router.sh210 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."
Dqos_dscp_bridge.sh170 local delta=$((t1s[$key] - t0s[$key]))
171 ((expect == delta))
172 check_err $? "DSCP $key: Expected to capture $expect packets, got $delta."
/tools/lib/traceevent/
Dkbuffer-parse.c281 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 …]
Dkbuffer.h60 unsigned long long delta; member
/tools/testing/selftests/timers/
Dinconsistency-check.c123 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/bpf/progs/
Dbpf_cubic.c200 __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 …]
Dbpf_iter_tcp4.c42 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t() argument
44 if (delta <= 0) in jiffies_delta_to_clock_t()
47 return jiffies_to_clock_t(delta); in jiffies_delta_to_clock_t()
154 long delta; in dump_tw_sock() local
156 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
167 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, in dump_tw_sock()
Dbpf_iter_tcp6.c42 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t() argument
44 if (delta <= 0) in jiffies_delta_to_clock_t()
47 return jiffies_to_clock_t(delta); in jiffies_delta_to_clock_t()
159 long delta; in dump_tw_sock() local
161 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
176 3, jiffies_delta_to_clock_t(delta), 0, 0, 0, 0, in dump_tw_sock()
Dtest_spin_lock.c46 #define CREDIT_PER_NS(delta, rate) (((delta) * rate) >> 20) argument
Dnetif_receive_skb.c41 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()
/tools/testing/selftests/net/forwarding/
Dmirror_lib.sh52 local delta=$((t1 - t0))
54 ((expect <= delta && delta <= expect + 2))
55 check_err $? "Expected to capture $expect packets, got $delta."
Dvxlan_bridge_1d.sh403 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."
Dvxlan_bridge_1q.sh508 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/
Dbuiltin-sched.c325 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/testing/selftests/bpf/
Dbpf_tcp_helpers.h224 __u32 delta = tp->snd_cwnd_cnt / w; in tcp_cong_avoid_ai() local
226 tp->snd_cwnd_cnt -= delta * w; in tcp_cong_avoid_ai()
227 tp->snd_cwnd += delta; in tcp_cong_avoid_ai()
/tools/testing/selftests/net/
Dso_txtime.sh26 if tc qdisc replace dev lo root etf clockid CLOCK_TAI delta 400000; then
Dtimestamping.c466 struct timeval delta; in main() local
476 delta.tv_sec = delta_us / 1000000; in main()
477 delta.tv_usec = delta_us % 1000000; in main()
486 res = select(sock + 1, &readfs, 0, &errorfs, &delta); in main()
/tools/perf/Documentation/
Dperf-diff.txt93 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.
Dexamples.txt74 Total 1148 (delta 690), reused 1148 (delta 690)
128 Total 1148 (delta 690), reused 1148 (delta 690)
/tools/perf/util/
Dstat.c20 double delta; in update_stats() local
23 delta = val - stats->mean; in update_stats()
24 stats->mean += delta / stats->n; in update_stats()
25 stats->M2 += delta*(val - stats->mean); in update_stats()
/tools/testing/ktest/
Dconfig-bisect.pl190 my $delta = $end_time - $start_time;
192 if ($delta == 1) {
195 doprint "[$delta seconds] ";

12