Home
last modified time | relevance | path

Searched refs:rte_rdtsc (Results 1 – 25 of 86) sorted by relevance

1234

/dpdk/app/test/
H A Dtest_reciprocal_division_perf.c40 rte_srand(rte_rdtsc()); in test_reciprocal_division_perf()
52 start_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
54 split_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
57 end_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
94 start_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
96 split_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
99 end_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
135 start_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
137 split_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
140 end_cyc = rte_rdtsc(); in test_reciprocal_division_perf()
[all …]
H A Dtest_timer_perf.c57 start_tsc = rte_rdtsc(); in test_timer_perf()
61 end_tsc = rte_rdtsc(); in test_timer_perf()
72 start_tsc = rte_rdtsc(); in test_timer_perf()
75 end_tsc = rte_rdtsc(); in test_timer_perf()
83 start_tsc = rte_rdtsc(); in test_timer_perf()
87 end_tsc = rte_rdtsc(); in test_timer_perf()
112 start_tsc = rte_rdtsc(); in test_timer_perf()
115 end_tsc = rte_rdtsc(); in test_timer_perf()
123 start_tsc = rte_rdtsc(); in test_timer_perf()
126 end_tsc = rte_rdtsc(); in test_timer_perf()
H A Dtest_lpm6_perf.c79 rte_srand(rte_rdtsc()); in test_lpm6_perf()
94 begin = rte_rdtsc(); in test_lpm6_perf()
102 total_time = rte_rdtsc() - begin; in test_lpm6_perf()
113 begin = rte_rdtsc(); in test_lpm6_perf()
121 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
141 begin = rte_rdtsc(); in test_lpm6_perf()
143 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
155 begin = rte_rdtsc(); in test_lpm6_perf()
163 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
H A Dtest_fib6_perf.c97 rte_srand(rte_rdtsc()); in test_fib6_perf()
113 begin = rte_rdtsc(); in test_fib6_perf()
122 total_time = rte_rdtsc() - begin; in test_fib6_perf()
138 begin = rte_rdtsc(); in test_fib6_perf()
140 total_time += rte_rdtsc() - begin; in test_fib6_perf()
152 begin = rte_rdtsc(); in test_fib6_perf()
160 total_time = rte_rdtsc() - begin; in test_fib6_perf()
H A Dtest_pmd_ring_perf.c40 const uint64_t sc_start = rte_rdtsc(); in test_empty_dequeue()
43 const uint64_t sc_end = rte_rdtsc(); in test_empty_dequeue()
45 const uint64_t eth_start = rte_rdtsc(); in test_empty_dequeue()
49 const uint64_t eth_end = rte_rdtsc(); in test_empty_dequeue()
104 const uint64_t sc_start = rte_rdtsc(); in test_bulk_enqueue_dequeue()
111 const uint64_t sc_end = rte_rdtsc(); in test_bulk_enqueue_dequeue()
H A Dtest_stack_perf.c116 uint64_t start = rte_rdtsc(); in test_empty_pop()
121 uint64_t end = rte_rdtsc(); in test_empty_pop()
149 uint64_t start = rte_rdtsc(); in bulk_push_pop()
156 uint64_t end = rte_rdtsc(); in bulk_push_pop()
258 uint64_t start = rte_rdtsc(); in test_single_push_pop()
265 uint64_t end = rte_rdtsc(); in test_single_push_pop()
280 uint64_t start = rte_rdtsc(); in test_bulk_push_pop()
287 uint64_t end = rte_rdtsc(); in test_bulk_push_pop()
H A Dtest_member_perf.c222 const uint64_t start_tsc = rte_rdtsc(); in timed_adds()
239 const uint64_t end_tsc = rte_rdtsc(); in timed_adds()
253 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups()
274 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups()
292 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_bulk()
321 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_bulk()
337 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch()
361 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multimatch()
415 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multimatch_bulk()
442 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes()
[all …]
H A Dtest_fib_perf.c348 rte_srand(rte_rdtsc()); in test_fib_perf()
361 begin = rte_rdtsc(); in test_fib_perf()
369 total_time = rte_rdtsc() - begin; in test_fib_perf()
388 begin = rte_rdtsc(); in test_fib_perf()
398 total_time += rte_rdtsc() - begin; in test_fib_perf()
406 begin = rte_rdtsc(); in test_fib_perf()
413 total_time += rte_rdtsc() - begin; in test_fib_perf()
H A Dtest_ring_perf.c152 const uint64_t start = rte_rdtsc(); in test_empty_dequeue()
155 const uint64_t end = rte_rdtsc(); in test_empty_dequeue()
200 const uint64_t sp_start = rte_rdtsc(); in enqueue_dequeue_bulk_helper()
214 const uint64_t sp_end = rte_rdtsc(); in enqueue_dequeue_bulk_helper()
216 const uint64_t mp_start = rte_rdtsc(); in enqueue_dequeue_bulk_helper()
230 const uint64_t mp_end = rte_rdtsc(); in enqueue_dequeue_bulk_helper()
441 const uint64_t start = rte_rdtsc(); in test_single_enqueue_dequeue()
446 const uint64_t end = rte_rdtsc(); in test_single_enqueue_dequeue()
475 const uint64_t start = rte_rdtsc(); in test_burst_bulk_enqueue_dequeue()
482 const uint64_t end = rte_rdtsc(); in test_burst_bulk_enqueue_dequeue()
H A Dtest_efd_perf.c181 const uint64_t start_tsc = rte_rdtsc(); in timed_adds()
198 const uint64_t end_tsc = rte_rdtsc(); in timed_adds()
209 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups()
231 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups()
245 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi()
275 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multi()
287 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes()
304 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes()
H A Dtest_lpm_perf.c621 rte_srand(rte_rdtsc()); in test_lpm_perf()
633 begin = rte_rdtsc(); in test_lpm_perf()
641 total_time = rte_rdtsc() - begin; in test_lpm_perf()
677 begin = rte_rdtsc(); in test_lpm_perf()
684 total_time += rte_rdtsc() - begin; in test_lpm_perf()
703 begin = rte_rdtsc(); in test_lpm_perf()
712 total_time += rte_rdtsc() - begin; in test_lpm_perf()
730 begin = rte_rdtsc(); in test_lpm_perf()
743 total_time += rte_rdtsc() - begin; in test_lpm_perf()
751 begin = rte_rdtsc(); in test_lpm_perf()
[all …]
H A Dtest_hash_perf.c255 const uint64_t start_tsc = rte_rdtsc(); in timed_adds()
303 const uint64_t end_tsc = rte_rdtsc(); in timed_adds()
316 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups()
380 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups()
409 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi()
506 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multi()
520 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes()
545 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes()
693 begin = rte_rdtsc(); in fbk_hash_perf_test()
698 end = rte_rdtsc(); in fbk_hash_perf_test()
H A Dtest_distributor_perf.c75 const uint64_t start_time = rte_rdtsc(); in time_cache_line_switch()
81 const uint64_t end_time = rte_rdtsc(); in time_cache_line_switch()
161 start = rte_rdtsc(); in perf_test()
164 end = rte_rdtsc(); in perf_test()
H A Dtest_rand_perf.c51 start = rte_rdtsc(); in test_rand_perf_type()
67 end = rte_rdtsc(); in test_rand_perf_type()
H A Dtest_memcpy_perf.c180 start_time = rte_rdtsc(); \
183 total_time += rte_rdtsc() - start_time; \
188 start_time = rte_rdtsc(); \
191 total_time2 += rte_rdtsc() - start_time; \
H A Dtest_pmd_perf.c345 prev_tsc = rte_rdtsc(); in measure_rxtx()
370 cur_tsc = rte_rdtsc(); in measure_rxtx()
388 cur_tsc = rte_rdtsc(); in measure_rxonly()
395 diff_tsc += rte_rdtsc() - cur_tsc; in measure_rxonly()
435 cur_tsc = rte_rdtsc(); in measure_txonly()
443 diff_tsc += rte_rdtsc() - cur_tsc; in measure_txonly()
581 cur_tsc = rte_rdtsc(); in poll_burst()
600 diff_tsc = rte_rdtsc() - cur_tsc; in poll_burst()
/dpdk/lib/eal/arm/include/
H A Drte_cycles_32.h48 #define rte_rdtsc __rte_rdtsc_syscall macro
75 #define rte_rdtsc __rte_rdtsc_pmccntr
83 return rte_rdtsc(); in rte_rdtsc_precise()
87 rte_get_tsc_cycles(void) { return rte_rdtsc(); } in rte_get_tsc_cycles()
H A Drte_cycles_64.h54 rte_rdtsc(void) in rte_rdtsc() function
89 rte_rdtsc(void) in rte_rdtsc() function
99 return rte_rdtsc(); in rte_rdtsc_precise()
105 return rte_rdtsc(); in rte_get_tsc_cycles()
/dpdk/lib/eal/ppc/include/
H A Drte_cycles.h27 rte_rdtsc(void) in rte_rdtsc() function
36 return rte_rdtsc(); in rte_rdtsc_precise()
40 rte_get_tsc_cycles(void) { return rte_rdtsc(); } in rte_get_tsc_cycles()
/dpdk/lib/eal/common/
H A Drte_keepalive.c58 ((rte_rdtsc() - keepcfg->last_alive[idx_core])*1000) in print_trace()
80 keepcfg->last_alive[idx_core] = rte_rdtsc(); in rte_keepalive_dispatch_pings()
102 keepcfg->last_alive[idx_core] = rte_rdtsc(); in rte_keepalive_dispatch_pings()
129 keepcfg->tsc_initial = rte_rdtsc(); in rte_keepalive_create()
148 keepcfg->last_alive[id_core] = rte_rdtsc(); in rte_keepalive_register_core()
H A Deal_common_timer.c45 uint64_t start = rte_rdtsc(); in estimate_tsc_freq()
48 return RTE_ALIGN_MUL_NEAR(rte_rdtsc() - start, CYC_PER_10MHZ); in estimate_tsc_freq()
/dpdk/lib/eal/x86/include/
H A Drte_cycles.h24 rte_rdtsc(void) in rte_rdtsc() function
56 return rte_rdtsc(); in rte_rdtsc_precise()
60 rte_get_tsc_cycles(void) { return rte_rdtsc(); } in rte_get_tsc_cycles()
/dpdk/doc/guides/prog_guide/
H A Dprofile_app.rst69 The default ``cntvct_el0`` based ``rte_rdtsc()`` provides a portable means to
77 The alternative method to enable ``rte_rdtsc()`` for a high resolution wall
84 By default the ``rte_rdtsc()`` implementation uses a portable ``cntvct_el0``
99 In order to enable ``PMU`` based ``rte_rdtsc()``, user needs to configure the
111 ``rte_rdtsc()``. However, this method can not be used in conjunction with
/dpdk/examples/rxtx_callbacks/
H A Dmain.c61 uint64_t now = rte_rdtsc(); in add_timestamps()
76 uint64_t now = rte_rdtsc(); in calc_latency()
193 uint64_t cycles_base = rte_rdtsc(); in port_init()
199 uint64_t cycles = rte_rdtsc(); in port_init()
/dpdk/lib/distributor/
H A Drte_distributor.c55 uint64_t t = rte_rdtsc()+100; in EAL_REGISTER_TAILQ()
57 while (rte_rdtsc() < t) in EAL_REGISTER_TAILQ()
148 uint64_t t = rte_rdtsc() + 100; in rte_distributor_get_pkt()
150 while (rte_rdtsc() < t) in rte_distributor_get_pkt()
182 uint64_t t = rte_rdtsc()+100; in rte_distributor_return_pkt()
184 while (rte_rdtsc() < t) in rte_distributor_return_pkt()

1234