Home
last modified time | relevance | path

Searched refs:start_tsc (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_timer_perf.c57 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 Dtest_member_perf.c211 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 Dtest_efd_perf.c171 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 Dtest_hash_perf.c260 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 Drxonly.c52 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 Diofwd.c53 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 Dmacswap.c60 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 Dmacfwd.c59 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 Dflowgen.c100 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 D5tswap.c108 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 Dicmpecho.c296 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 Dtxonly.c334 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 Dtestpmd.h754 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 Dcsumonly.c821 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 Dpipeline_common.h115 volatile uint64_t start_tsc = rte_rdtsc(); in work() local
116 while (rte_rdtsc() < start_tsc + cdata.worker_cycles) in work()