| /f-stack/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_member_perf.c | 211 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 229 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 242 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 264 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 281 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_bulk() local 311 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_bulk() 326 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch() local 351 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multimatch() 369 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multimatch_bulk() local 421 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local [all …]
|
| H A D | test_efd_perf.c | 171 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 189 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 199 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 222 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 235 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() local 266 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multi() 277 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local 295 const uint64_t time_taken = end_tsc - start_tsc; in timed_deletes()
|
| H A D | test_hash_perf.c | 260 const uint64_t start_tsc = rte_rdtsc(); in timed_adds() local 309 const uint64_t time_taken = end_tsc - start_tsc; in timed_adds() 321 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups() local 386 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups() 414 const uint64_t start_tsc = rte_rdtsc(); in timed_lookups_multi() local 512 const uint64_t time_taken = end_tsc - start_tsc; in timed_lookups_multi() 525 const uint64_t start_tsc = rte_rdtsc(); in timed_deletes() local 551 const uint64_t time_taken = end_tsc - start_tsc; in timed_deletes()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | rxonly.c | 52 uint64_t start_tsc = 0; in pkt_burst_receive() local 54 get_start_cycles(&start_tsc); in pkt_burst_receive() 69 get_end_cycles(fs, start_tsc); in pkt_burst_receive()
|
| H A D | iofwd.c | 53 uint64_t start_tsc = 0; in pkt_burst_io_forward() local 55 get_start_cycles(&start_tsc); in pkt_burst_io_forward() 89 get_end_cycles(fs, start_tsc); in pkt_burst_io_forward()
|
| H A D | macswap.c | 60 uint64_t start_tsc = 0; in pkt_burst_mac_swap() local 62 get_start_cycles(&start_tsc); in pkt_burst_mac_swap() 98 get_end_cycles(fs, start_tsc); in pkt_burst_mac_swap()
|
| H A D | macfwd.c | 59 uint64_t start_tsc = 0; in pkt_burst_mac_forward() local 61 get_start_cycles(&start_tsc); in pkt_burst_mac_forward() 120 get_end_cycles(fs, start_tsc); in pkt_burst_mac_forward()
|
| H A D | flowgen.c | 100 uint64_t start_tsc = 0; in pkt_burst_flow_gen() local 103 get_start_cycles(&start_tsc); in pkt_burst_flow_gen() 203 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 | 296 uint64_t start_tsc = 0; in reply_to_icmp_echo_rqsts() local 298 get_start_cycles(&start_tsc); in reply_to_icmp_echo_rqsts() 513 get_end_cycles(fs, start_tsc); in reply_to_icmp_echo_rqsts()
|
| H A D | txonly.c | 334 uint64_t start_tsc = 0; in pkt_burst_transmit() local 336 get_start_cycles(&start_tsc); in pkt_burst_transmit() 423 get_end_cycles(fs, start_tsc); in pkt_burst_transmit()
|
| H A D | testpmd.h | 754 get_start_cycles(uint64_t *start_tsc) in get_start_cycles() argument 757 *start_tsc = rte_rdtsc(); in get_start_cycles() 761 get_end_cycles(struct fwd_stream *fs, uint64_t start_tsc) in get_end_cycles() argument 764 fs->core_cycles += rte_rdtsc() - start_tsc; in get_end_cycles()
|
| H A D | csumonly.c | 821 uint64_t start_tsc = 0; in pkt_burst_checksum_forward() local 823 get_start_cycles(&start_tsc); in pkt_burst_checksum_forward() 1136 get_end_cycles(fs, start_tsc); in pkt_burst_checksum_forward()
|
| /f-stack/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()
|