| /f-stack/dpdk/app/test/ |
| H A D | test_cycles.c | 34 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 D | test_timer_perf.c | 68 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 D | test_timer_racecond.c | 89 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 D | test_timer.c | 194 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 D | test_mcslock.c | 86 begin = rte_get_timer_cycles(); in load_loop_fn() 95 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
|
| H A D | test_rwlock.c | 306 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 D | test_mempool.c | 225 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 D | test_spinlock.c | 116 begin = rte_get_timer_cycles(); in load_loop_fn() 124 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
|
| H A D | test_trace_perf.c | 93 start = rte_get_timer_cycles(); \ 96 ldata->total_cycles += rte_get_timer_cycles() - start; \
|
| H A D | test_mempool_perf.c | 150 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 D | test_barrier.c | 152 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 D | eal_common_timer.c | 32 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 D | ena_plat_dpdk.h | 73 (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 D | test_perf_common.c | 63 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 D | test_perf_common.h | 123 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 D | test_order_common.c | 292 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 D | axgbe_rxtx.c | 129 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 D | axgbe_mdio.c | 464 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 D | axgbe_i2c.c | 259 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 D | noisy_vnf.c | 202 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 D | rte_cycles.h | 94 rte_get_timer_cycles(void) in rte_get_timer_cycles() function
|
| /f-stack/dpdk/drivers/event/sw/ |
| H A D | sw_evdev_worker.c | 116 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 D | otx2_cryptodev_ops_helper.h | 37 if (rte_get_timer_cycles() < req->time_out) in otx2_cpt_compcode_get()
|
| /f-stack/dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 153 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 D | bcm_osal.c | 144 (unsigned long)rte_get_timer_cycles()); in osal_dma_alloc_coherent() 183 (unsigned long)rte_get_timer_cycles()); in osal_dma_alloc_coherent_aligned()
|