| /dpdk/app/test/ |
| H A D | test_timer_perf.c | 57 start_tsc = rte_rdtsc(); in test_timer_perf() 63 end_tsc-start_tsc, (end_tsc-start_tsc+ticks_per_ms/2)/(ticks_per_ms)); in test_timer_perf() 65 (end_tsc-start_tsc)/iterations, in test_timer_perf() 72 start_tsc = rte_rdtsc(); in test_timer_perf() 77 end_tsc-start_tsc, (end_tsc-start_tsc+ticks_per_ms/2)/(ticks_per_ms)); in test_timer_perf() 79 (end_tsc-start_tsc)/iterations, in test_timer_perf() 83 start_tsc = rte_rdtsc(); in test_timer_perf() 89 end_tsc-start_tsc, (end_tsc-start_tsc+ticks_per_ms/2)/(ticks_per_ms)); in test_timer_perf() 91 (end_tsc-start_tsc)/iterations, in test_timer_perf() 112 start_tsc = rte_rdtsc(); in test_timer_perf() [all …]
|
| H A D | test_thash_perf.c | 45 uint64_t start_tsc, end_tsc; in run_rss_calc() local 48 start_tsc = rte_rdtsc_precise(); in run_rss_calc() 67 return end_tsc - start_tsc; in run_rss_calc() 74 uint64_t start_tsc, end_tsc; in run_rss_calc_bulk() local 77 start_tsc = rte_rdtsc_precise(); in run_rss_calc_bulk() 84 return end_tsc - start_tsc; in run_rss_calc_bulk()
|
| H A D | test_member_perf.c | 222 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 240 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 253 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 275 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 292 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_bulk() local 322 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_bulk() 337 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch() local 362 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multimatch() 380 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch_bulk() local 432 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local [all …]
|
| H A D | test_efd_perf.c | 181 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 199 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 209 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 232 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 245 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() local 276 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multi() 287 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local 305 const uint64_t time_taken = end_tsc - start_tsc; in timed_deletes()
|
| H A D | test_hash_perf.c | 255 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 304 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 316 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 381 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 409 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() local 507 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multi() 520 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local 546 const uint64_t time_taken = end_tsc - start_tsc; in timed_deletes()
|
| /dpdk/app/test-pmd/ |
| H A D | rxonly.c | 51 uint64_t start_tsc = 0; in pkt_burst_receive() local 53 get_start_cycles(&start_tsc); in pkt_burst_receive() 68 get_end_cycles(fs, start_tsc); in pkt_burst_receive()
|
| H A D | iofwd.c | 52 uint64_t start_tsc = 0; in pkt_burst_io_forward() local 54 get_start_cycles(&start_tsc); in pkt_burst_io_forward() 88 get_end_cycles(fs, start_tsc); in pkt_burst_io_forward()
|
| H A D | macswap.c | 59 uint64_t start_tsc = 0; in pkt_burst_mac_swap() local 61 get_start_cycles(&start_tsc); in pkt_burst_mac_swap() 97 get_end_cycles(fs, start_tsc); in pkt_burst_mac_swap()
|
| H A D | shared_rxq_fwd.c | 98 uint64_t start_tsc = 0; in shared_rxq_fwd() local 100 get_start_cycles(&start_tsc); in shared_rxq_fwd() 107 get_end_cycles(fs, start_tsc); in shared_rxq_fwd()
|
| H A D | macfwd.c | 58 uint64_t start_tsc = 0; in pkt_burst_mac_forward() local 60 get_start_cycles(&start_tsc); in pkt_burst_mac_forward() 119 get_end_cycles(fs, start_tsc); in pkt_burst_mac_forward()
|
| H A D | flowgen.c | 82 uint64_t start_tsc = 0; in pkt_burst_flow_gen() local 85 get_start_cycles(&start_tsc); in pkt_burst_flow_gen() 200 get_end_cycles(fs, start_tsc); in pkt_burst_flow_gen()
|
| H A D | 5tswap.c | 108 uint64_t start_tsc = 0; in pkt_burst_5tuple_swap() local 110 get_start_cycles(&start_tsc); in pkt_burst_5tuple_swap() 185 get_end_cycles(fs, start_tsc); in pkt_burst_5tuple_swap()
|
| H A D | icmpecho.c | 295 uint64_t start_tsc = 0; in reply_to_icmp_echo_rqsts() local 297 get_start_cycles(&start_tsc); in reply_to_icmp_echo_rqsts() 512 get_end_cycles(fs, start_tsc); in reply_to_icmp_echo_rqsts()
|
| H A D | txonly.c | 341 uint64_t start_tsc = 0; in pkt_burst_transmit() local 343 get_start_cycles(&start_tsc); in pkt_burst_transmit() 430 get_end_cycles(fs, start_tsc); in pkt_burst_transmit()
|
| H A D | testpmd.h | 836 get_start_cycles(uint64_t *start_tsc) in get_start_cycles() argument 839 *start_tsc = rte_rdtsc(); in get_start_cycles() 843 get_end_cycles(struct fwd_stream *fs, uint64_t start_tsc) in get_end_cycles() argument 846 fs->core_cycles += rte_rdtsc() - start_tsc; in get_end_cycles()
|
| H A D | csumonly.c | 841 uint64_t start_tsc = 0; in pkt_burst_checksum_forward() local 843 get_start_cycles(&start_tsc); in pkt_burst_checksum_forward() 1177 get_end_cycles(fs, start_tsc); in pkt_burst_checksum_forward()
|
| /dpdk/examples/eventdev_pipeline/ |
| H A D | pipeline_common.h | 115 volatile uint64_t start_tsc = rte_rdtsc(); in work() local 116 while (rte_rdtsc() < start_tsc + cdata.worker_cycles) in work()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_tim.c | 89 roc_tim_lf_enable(struct roc_tim *roc_tim, uint8_t ring_id, uint64_t *start_tsc, in roc_tim_lf_enable() argument 113 if (start_tsc) in roc_tim_lf_enable() 114 *start_tsc = rsp->timestarted; in roc_tim_lf_enable()
|
| H A D | roc_tim.h | 32 uint64_t *start_tsc, uint32_t *cur_bkt);
|