Home
last modified time | relevance | path

Searched refs:rte_get_timer_cycles (Results 1 – 25 of 71) sorted by relevance

123

/f-stack/dpdk/app/test/
H A Dtest_cycles.c34 prev_cycles = rte_get_timer_cycles(); in check_wait_one_second()
36 cycles = rte_get_timer_cycles(); in check_wait_one_second()
59 start_cycles = rte_get_timer_cycles(); in test_cycles()
62 cycles = rte_get_timer_cycles(); in test_cycles()
H A Dtest_timer_perf.c68 delay_start = rte_get_timer_cycles(); in test_timer_perf()
69 while (rte_get_timer_cycles() < delay_start + ticks) in test_timer_perf()
95 delay_start = rte_get_timer_cycles(); in test_timer_perf()
96 while (rte_get_timer_cycles() < delay_start + ticks) in test_timer_perf()
H A Dtest_timer_racecond.c89 uint64_t ticks = BILLION - (rte_get_timer_cycles() % BILLION) + in reload_timer()
167 cur_time = rte_get_timer_cycles(); in test_timer_racecond()
183 cur_time = rte_get_timer_cycles(); in test_timer_racecond()
H A Dtest_timer.c194 cur_time = rte_get_timer_cycles(); in timer_stress_main_loop()
410 uint64_t cur_time = rte_get_timer_cycles(); in timer_basic_cb()
490 cur_time = rte_get_timer_cycles(); in timer_basic_main_loop()
561 cur_time = rte_get_timer_cycles(); in test_timer()
582 cur_time = rte_get_timer_cycles(); in test_timer()
H A Dtest_mcslock.c86 begin = rte_get_timer_cycles(); in load_loop_fn()
95 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
H A Dtest_rwlock.c306 stm = rte_get_timer_cycles(); in try_read_lcore()
319 tm = rte_get_timer_cycles() - stm; in try_read_lcore()
340 stm = rte_get_timer_cycles(); in try_write_lcore()
353 tm = rte_get_timer_cycles() - stm; in try_write_lcore()
H A Dtest_mempool.c225 start_cycles = rte_get_timer_cycles(); in test_mempool_single_producer()
227 end_cycles = rte_get_timer_cycles(); in test_mempool_single_producer()
265 start_cycles = rte_get_timer_cycles(); in test_mempool_single_consumer()
267 end_cycles = rte_get_timer_cycles(); in test_mempool_single_consumer()
H A Dtest_spinlock.c116 begin = rte_get_timer_cycles(); in load_loop_fn()
124 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
H A Dtest_trace_perf.c93 start = rte_get_timer_cycles(); \
96 ldata->total_cycles += rte_get_timer_cycles() - start; \
H A Dtest_mempool_perf.c150 start_cycles = rte_get_timer_cycles(); in per_lcore_mempool_test()
178 end_cycles = rte_get_timer_cycles(); in per_lcore_mempool_test()
H A Dtest_barrier.c152 tm = rte_get_timer_cycles(); in plock_test1_lcore()
170 tm = rte_get_timer_cycles() - tm; in plock_test1_lcore()
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_timer.c32 const uint64_t start = rte_get_timer_cycles(); in rte_delay_us_block()
34 while ((rte_get_timer_cycles() - start) < ticks) in rte_delay_us_block()
/f-stack/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h73 (rte_get_timer_cycles() * US_PER_S / rte_get_timer_hz())
165 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles())
167 (timeout_us * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())
288 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles())
290 (timeout_us * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())
/f-stack/dpdk/app/test-eventdev/
H A Dtest_perf_common.c63 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer()
69 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer()
121 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer()
127 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer()
129 arm_latency += rte_get_timer_cycles() - m[i]->timestamp; in perf_event_timer_producer()
185 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer_burst()
192 arm_latency += rte_get_timer_cycles() - m[i - 1]->timestamp; in perf_event_timer_producer_burst()
286 uint64_t dead_lock_cycles = rte_get_timer_cycles(); in perf_launch_lcores()
290 uint64_t perf_cycles = rte_get_timer_cycles(); in perf_launch_lcores()
301 const uint64_t new_cycles = rte_get_timer_cycles(); in perf_launch_lcores()
H A Dtest_perf_common.h123 latency = rte_get_timer_cycles() - m->timestamp; in perf_process_last_stage_latency()
126 latency = rte_get_timer_cycles() - m->timestamp; in perf_process_last_stage_latency()
H A Dtest_order_common.c292 uint64_t cycles = rte_get_timer_cycles(); in order_launch_lcores()
296 uint64_t new_cycles = rte_get_timer_cycles(); in order_launch_lcores()
/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_rxtx.c129 rx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_prepare_rx_stop()
132 while (time_before(rte_get_timer_cycles(), rx_timeout)) { in axgbe_prepare_rx_stop()
141 if (!time_before(rte_get_timer_cycles(), rx_timeout)) in axgbe_prepare_rx_stop()
584 tx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_txq_prepare_tx_stop()
586 while (time_before(rte_get_timer_cycles(), tx_timeout)) { in axgbe_txq_prepare_tx_stop()
595 if (!time_before(rte_get_timer_cycles(), tx_timeout)) in axgbe_txq_prepare_tx_stop()
627 tx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_prepare_tx_stop()
629 while (time_before(rte_get_timer_cycles(), tx_timeout)) { in axgbe_prepare_tx_stop()
639 if (!time_before(rte_get_timer_cycles(), tx_timeout)) in axgbe_prepare_tx_stop()
H A Daxgbe_mdio.c464 pdata->an_start = rte_get_timer_cycles(); in axgbe_an73_page_received()
468 ticks = rte_get_timer_cycles(); in axgbe_an73_page_received()
474 pdata->an_start = rte_get_timer_cycles(); in axgbe_an73_page_received()
920 pdata->link_check = rte_get_timer_cycles(); in __axgbe_phy_config_aneg()
1005 ticks = rte_get_timer_cycles(); in axgbe_check_link_timeout()
1061 ticks = rte_get_timer_cycles(); in autoneg_time_out()
1098 autoneg_start_time = rte_get_timer_cycles(); in axgbe_phy_status()
H A Daxgbe_i2c.c259 timeout = rte_get_timer_cycles() + rte_get_timer_hz(); in axgbe_i2c_xfer()
261 while (time_before(rte_get_timer_cycles(), timeout)) { in axgbe_i2c_xfer()
/f-stack/dpdk/app/test-pmd/
H A Dnoisy_vnf.c202 now = ncf->prev_time = rte_get_timer_cycles(); in pkt_burst_noisy_vnf()
204 now = rte_get_timer_cycles(); in pkt_burst_noisy_vnf()
219 ncf->prev_time = rte_get_timer_cycles(); in pkt_burst_noisy_vnf()
/f-stack/dpdk/lib/librte_eal/include/generic/
H A Drte_cycles.h94 rte_get_timer_cycles(void) in rte_get_timer_cycles() function
/f-stack/dpdk/drivers/event/sw/
H A Dsw_evdev_worker.c116 uint64_t burst_ticks = rte_get_timer_cycles() - in sw_event_enqueue_burst()
174 p->last_dequeue_ticks = rte_get_timer_cycles(); in sw_event_dequeue_burst()
/f-stack/dpdk/drivers/crypto/octeontx2/
H A Dotx2_cryptodev_ops_helper.h37 if (rte_get_timer_cycles() < req->time_out) in otx2_cpt_compcode_get()
/f-stack/dpdk/examples/l2fwd-jobstats/
H A Dmain.c153 uint64_t collection_time = rte_get_timer_cycles(); in show_lcore_stats()
208 collection_time = rte_get_timer_cycles() - collection_time; in show_lcore_stats()
444 now = rte_get_timer_cycles(); in l2fwd_flush_job()
459 qconf->next_flush_time[portid] = rte_get_timer_cycles() + drain_tsc; in l2fwd_flush_job()
512 uint64_t now = rte_get_timer_cycles(); in l2fwd_main_loop()
/f-stack/dpdk/drivers/net/qede/base/
H A Dbcm_osal.c144 (unsigned long)rte_get_timer_cycles()); in osal_dma_alloc_coherent()
183 (unsigned long)rte_get_timer_cycles()); in osal_dma_alloc_coherent_aligned()

123