| /dpdk/app/test/ |
| 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 | 63 uint64_t ticks = BILLION - (rte_get_timer_cycles() % BILLION) + in reload_timer() 141 cur_time = rte_get_timer_cycles(); in test_timer_racecond() 157 cur_time = rte_get_timer_cycles(); in test_timer_racecond()
|
| H A D | test_timer.c | 193 cur_time = rte_get_timer_cycles(); in timer_stress_main_loop() 405 uint64_t cur_time = rte_get_timer_cycles(); in timer_basic_cb() 485 cur_time = rte_get_timer_cycles(); in timer_basic_main_loop() 556 cur_time = rte_get_timer_cycles(); in test_timer() 578 cur_time = rte_get_timer_cycles(); in test_timer()
|
| H A D | test_rwlock.c | 305 stm = rte_get_timer_cycles(); in try_read_lcore() 318 tm = rte_get_timer_cycles() - stm; in try_read_lcore() 339 stm = rte_get_timer_cycles(); in try_write_lcore() 352 tm = rte_get_timer_cycles() - stm; in try_write_lcore()
|
| H A D | test_mcslock.c | 80 begin = rte_get_timer_cycles(); in load_loop_fn() 89 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
|
| H A D | test_spinlock.c | 115 begin = rte_get_timer_cycles(); in load_loop_fn() 123 time_diff = rte_get_timer_cycles() - begin; in load_loop_fn()
|
| H A D | test_trace_perf.c | 92 start = rte_get_timer_cycles(); \ 95 ldata->total_cycles += rte_get_timer_cycles() - start; \
|
| H A D | test_barrier.c | 151 tm = rte_get_timer_cycles(); in plock_test1_lcore() 169 tm = rte_get_timer_cycles() - tm; in plock_test1_lcore()
|
| H A D | test_mempool_perf.c | 193 start_cycles = rte_get_timer_cycles(); in per_lcore_mempool_test() 213 end_cycles = rte_get_timer_cycles(); in per_lcore_mempool_test()
|
| H A D | test_mempool.c | 242 start_cycles = rte_get_timer_cycles(); in test_mempool_single_producer() 244 end_cycles = rte_get_timer_cycles(); in test_mempool_single_producer() 282 start_cycles = rte_get_timer_cycles(); in test_mempool_single_consumer() 284 end_cycles = rte_get_timer_cycles(); in test_mempool_single_consumer()
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_timer.c | 26 const uint64_t start = rte_get_timer_cycles(); in rte_delay_us_block() 28 while ((rte_get_timer_cycles() - start) < ticks) in rte_delay_us_block()
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_plat_dpdk.h | 94 (rte_get_timer_cycles() * US_PER_S / rte_get_timer_hz()) 202 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles()) 204 ((timeout_us) * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles()) 284 #define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles()) 286 ((timeout_us) * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())
|
| /dpdk/app/test-eventdev/ |
| H A D | test_perf_common.c | 67 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer() 73 m[i]->timestamp = rte_get_timer_cycles(); in perf_producer() 124 timestamp = rte_get_timer_cycles(); in perf_producer_burst() 138 timestamp = rte_get_timer_cycles(); in perf_producer_burst() 192 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer() 198 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer() 200 arm_latency += rte_get_timer_cycles() - m[i]->timestamp; in perf_event_timer_producer() 258 m[i]->timestamp = rte_get_timer_cycles(); in perf_event_timer_producer_burst() 488 uint64_t dead_lock_cycles = rte_get_timer_cycles(); in perf_launch_lcores() 492 uint64_t perf_cycles = rte_get_timer_cycles(); in perf_launch_lcores() [all …]
|
| H A D | test_perf_common.h | 150 latency = rte_get_timer_cycles() - m->timestamp; in perf_process_last_stage_latency() 153 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()
|
| /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()
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_rxtx.c | 128 rx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_prepare_rx_stop() 131 while (time_before(rte_get_timer_cycles(), rx_timeout)) { in axgbe_prepare_rx_stop() 140 if (!time_before(rte_get_timer_cycles(), rx_timeout)) in axgbe_prepare_rx_stop() 647 tx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_txq_prepare_tx_stop() 649 while (time_before(rte_get_timer_cycles(), tx_timeout)) { in axgbe_txq_prepare_tx_stop() 658 if (!time_before(rte_get_timer_cycles(), tx_timeout)) in axgbe_txq_prepare_tx_stop() 690 tx_timeout = rte_get_timer_cycles() + (AXGBE_DMA_STOP_TIMEOUT * in axgbe_prepare_tx_stop() 692 while (time_before(rte_get_timer_cycles(), tx_timeout)) { in axgbe_prepare_tx_stop() 702 if (!time_before(rte_get_timer_cycles(), tx_timeout)) in axgbe_prepare_tx_stop()
|
| H A D | axgbe_mdio.c | 432 pdata->an_start = rte_get_timer_cycles(); in axgbe_an73_page_received() 436 ticks = rte_get_timer_cycles(); in axgbe_an73_page_received() 442 pdata->an_start = rte_get_timer_cycles(); in axgbe_an73_page_received() 888 pdata->link_check = rte_get_timer_cycles(); in __axgbe_phy_config_aneg() 973 ticks = rte_get_timer_cycles(); in axgbe_check_link_timeout() 1029 ticks = rte_get_timer_cycles(); in autoneg_time_out() 1066 autoneg_start_time = rte_get_timer_cycles(); in axgbe_phy_status()
|
| H A D | axgbe_i2c.c | 261 timeout = rte_get_timer_cycles() + rte_get_timer_hz(); in axgbe_i2c_xfer() 263 while (time_before(rte_get_timer_cycles(), timeout)) { in axgbe_i2c_xfer()
|
| /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()
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_cycles.h | 94 rte_get_timer_cycles(void) in rte_get_timer_cycles() function
|
| /dpdk/app/test-flow-perf/ |
| H A D | main.c | 1190 start_batch = rte_get_timer_cycles(); in meters_handler() 1205 ((double)(rte_get_timer_cycles() - start_batch)) in meters_handler() 1208 start_batch = rte_get_timer_cycles(); in meters_handler() 1311 start_batch = rte_get_timer_cycles(); in destroy_flows() 1329 end_batch = rte_get_timer_cycles(); in destroy_flows() 1334 start_batch = rte_get_timer_cycles(); in destroy_flows() 1409 start_batch = rte_get_timer_cycles(); in insert_flows() 1420 first_flow_latency = (double) (rte_get_timer_cycles() - start_batch); in insert_flows() 1446 end_batch = rte_get_timer_cycles(); in insert_flows() 1451 start_batch = rte_get_timer_cycles(); in insert_flows()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 154 uint64_t collection_time = rte_get_timer_cycles(); in show_lcore_stats() 209 collection_time = rte_get_timer_cycles() - collection_time; in show_lcore_stats() 453 now = rte_get_timer_cycles(); in l2fwd_flush_job() 468 qconf->next_flush_time[portid] = rte_get_timer_cycles() + drain_tsc; in l2fwd_flush_job() 523 uint64_t now = rte_get_timer_cycles(); in l2fwd_main_loop()
|
| /dpdk/examples/timer/ |
| H A D | main.c | 76 cur_tsc = rte_get_timer_cycles(); in lcore_mainloop()
|
| /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()
|