Home
last modified time | relevance | path

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

/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_thash_perf.c45 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 Dtest_member_perf.c222 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 Dtest_efd_perf.c181 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 Dtest_hash_perf.c255 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 Drxonly.c51 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 Diofwd.c52 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 Dmacswap.c59 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 Dshared_rxq_fwd.c98 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 Dmacfwd.c58 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 Dflowgen.c82 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 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.c295 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 Dtxonly.c341 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 Dtestpmd.h836 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 Dcsumonly.c841 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 Dpipeline_common.h115 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 Droc_tim.c89 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 Droc_tim.h32 uint64_t *start_tsc, uint32_t *cur_bkt);