| /f-stack/dpdk/app/test/ |
| H A D | test_reciprocal_division_perf.c | 40 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() 92 start_cyc = rte_rdtsc(); in test_reciprocal_division_perf() 94 split_cyc = rte_rdtsc(); in test_reciprocal_division_perf() 97 end_cyc = rte_rdtsc(); in test_reciprocal_division_perf() 132 start_cyc = rte_rdtsc(); in test_reciprocal_division_perf() 134 split_cyc = rte_rdtsc(); in test_reciprocal_division_perf() 137 end_cyc = rte_rdtsc(); in test_reciprocal_division_perf() [all …]
|
| H A D | test_timer_perf.c | 57 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 D | test_lpm6_perf.c | 68 rte_srand(rte_rdtsc()); in test_lpm6_perf() 83 begin = rte_rdtsc(); in test_lpm6_perf() 91 total_time = rte_rdtsc() - begin; in test_lpm6_perf() 102 begin = rte_rdtsc(); in test_lpm6_perf() 110 total_time += rte_rdtsc() - begin; in test_lpm6_perf() 130 begin = rte_rdtsc(); in test_lpm6_perf() 132 total_time += rte_rdtsc() - begin; in test_lpm6_perf() 144 begin = rte_rdtsc(); in test_lpm6_perf() 152 total_time += rte_rdtsc() - begin; in test_lpm6_perf()
|
| H A D | test_fib6_perf.c | 84 rte_srand(rte_rdtsc()); in test_fib6_perf() 100 begin = rte_rdtsc(); in test_fib6_perf() 109 total_time = rte_rdtsc() - begin; in test_fib6_perf() 125 begin = rte_rdtsc(); in test_fib6_perf() 127 total_time += rte_rdtsc() - begin; in test_fib6_perf() 139 begin = rte_rdtsc(); in test_fib6_perf() 147 total_time = rte_rdtsc() - begin; in test_fib6_perf()
|
| H A D | test_pmd_ring_perf.c | 40 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 D | test_stack_perf.c | 117 uint64_t start = rte_rdtsc(); in test_empty_pop() 122 uint64_t end = rte_rdtsc(); in test_empty_pop() 151 uint64_t start = rte_rdtsc(); in bulk_push_pop() 158 uint64_t end = rte_rdtsc(); in bulk_push_pop() 260 uint64_t start = rte_rdtsc(); in test_single_push_pop() 267 uint64_t end = rte_rdtsc(); in test_single_push_pop() 282 uint64_t start = rte_rdtsc(); in test_bulk_push_pop() 289 uint64_t end = rte_rdtsc(); in test_bulk_push_pop()
|
| H A D | test_fib_perf.c | 336 rte_srand(rte_rdtsc()); in test_fib_perf() 349 begin = rte_rdtsc(); in test_fib_perf() 357 total_time = rte_rdtsc() - begin; in test_fib_perf() 376 begin = rte_rdtsc(); in test_fib_perf() 386 total_time += rte_rdtsc() - begin; in test_fib_perf() 394 begin = rte_rdtsc(); in test_fib_perf() 401 total_time += rte_rdtsc() - begin; in test_fib_perf()
|
| H A D | test_member_perf.c | 211 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() 228 const uint64_t end_tsc = rte_rdtsc(); in timed_adds() 242 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() 263 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups() 281 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_bulk() 310 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_bulk() 326 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch() 350 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multimatch() 404 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multimatch_bulk() 431 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes() [all …]
|
| H A D | test_efd_perf.c | 171 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() 188 const uint64_t end_tsc = rte_rdtsc(); in timed_adds() 199 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() 221 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups() 235 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() 265 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multi() 277 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() 294 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes()
|
| H A D | test_ring_perf.c | 152 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() 442 const uint64_t start = rte_rdtsc(); in test_single_enqueue_dequeue() 447 const uint64_t end = rte_rdtsc(); in test_single_enqueue_dequeue() 476 const uint64_t start = rte_rdtsc(); in test_burst_bulk_enqueue_dequeue() 483 const uint64_t end = rte_rdtsc(); in test_burst_bulk_enqueue_dequeue()
|
| H A D | test_lpm_perf.c | 611 rte_srand(rte_rdtsc()); in test_lpm_perf() 623 begin = rte_rdtsc(); in test_lpm_perf() 631 total_time = rte_rdtsc() - begin; in test_lpm_perf() 667 begin = rte_rdtsc(); in test_lpm_perf() 674 total_time += rte_rdtsc() - begin; in test_lpm_perf() 693 begin = rte_rdtsc(); in test_lpm_perf() 702 total_time += rte_rdtsc() - begin; in test_lpm_perf() 720 begin = rte_rdtsc(); in test_lpm_perf() 733 total_time += rte_rdtsc() - begin; in test_lpm_perf() 741 begin = rte_rdtsc(); in test_lpm_perf() [all …]
|
| H A D | test_hash_perf.c | 260 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() 308 const uint64_t end_tsc = rte_rdtsc(); in timed_adds() 321 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() 385 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups() 414 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() 511 const uint64_t end_tsc = rte_rdtsc(); in timed_lookups_multi() 525 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() 550 const uint64_t end_tsc = rte_rdtsc(); in timed_deletes() 698 begin = rte_rdtsc(); in fbk_hash_perf_test() 703 end = rte_rdtsc(); in fbk_hash_perf_test()
|
| H A D | test_distributor_perf.c | 64 const uint64_t start_time = rte_rdtsc(); in time_cache_line_switch() 70 const uint64_t end_time = rte_rdtsc(); in time_cache_line_switch() 153 start = rte_rdtsc(); in perf_test() 156 end = rte_rdtsc(); in perf_test()
|
| H A D | test_rand_perf.c | 51 start = rte_rdtsc(); in test_rand_perf_type() 67 end = rte_rdtsc(); in test_rand_perf_type()
|
| H A D | test_memcpy_perf.c | 179 start_time = rte_rdtsc(); \ 182 total_time += rte_rdtsc() - start_time; \ 187 start_time = rte_rdtsc(); \ 190 total_time2 += rte_rdtsc() - start_time; \
|
| H A D | test_pmd_perf.c | 345 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() 570 cur_tsc = rte_rdtsc(); in poll_burst() 589 diff_tsc = rte_rdtsc() - cur_tsc; in poll_burst()
|
| /f-stack/dpdk/lib/librte_eal/arm/include/ |
| H A D | rte_cycles_32.h | 48 #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 D | rte_cycles_64.h | 54 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()
|
| /f-stack/dpdk/lib/librte_eal/ppc/include/ |
| H A D | rte_cycles.h | 27 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()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | rte_keepalive.c | 58 ((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 D | eal_common_timer.c | 51 uint64_t start = rte_rdtsc(); in estimate_tsc_freq() 54 return RTE_ALIGN_MUL_NEAR(rte_rdtsc() - start, CYC_PER_10MHZ); in estimate_tsc_freq()
|
| /f-stack/dpdk/lib/librte_eal/x86/include/ |
| H A D | rte_cycles.h | 24 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()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | profile_app.rst | 55 The default ``cntvct_el0`` based ``rte_rdtsc()`` provides a portable means to 63 The alternative method to enable ``rte_rdtsc()`` for a high resolution wall 70 By default the ``rte_rdtsc()`` implementation uses a portable ``cntvct_el0`` 88 ``rte_rdtsc()``. However, this method can not be used in conjunction with
|
| /f-stack/dpdk/examples/performance-thread/common/ |
| H A D | lthread_diag.h | 46 (obj)->diag_ref = (diag_cb)(rte_rdtsc(), \ 71 (diag_cb)(rte_rdtsc(), \
|
| /f-stack/dpdk/examples/rxtx_callbacks/ |
| H A D | main.c | 66 uint64_t now = rte_rdtsc(); in add_timestamps() 79 uint64_t now = rte_rdtsc(); in calc_latency() 191 uint64_t cycles_base = rte_rdtsc(); in port_init() 197 uint64_t cycles = rte_rdtsc(); in port_init()
|