| /dpdk/app/test/ |
| H A D | test_timer.c | 144 uint64_t hz = rte_get_timer_hz(); in timer_stress_cb() 167 uint64_t hz = rte_get_timer_hz(); in timer_stress_main_loop() 276 uint64_t delay = rte_get_timer_hz() / 20; in timer_stress2_main_loop() 403 uint64_t hz = rte_get_timer_hz(); in timer_basic_cb() 458 uint64_t hz = rte_get_timer_hz(); in timer_basic_main_loop() 557 hz = rte_get_timer_hz(); in test_timer() 579 hz = rte_get_timer_hz(); in test_timer()
|
| H A D | test_timer_secondary.c | 89 uint64_t tick_cycles = TICK_MSECS * rte_get_timer_hz() / MSECPERSEC; in timer_manage_loop() 194 ticks = timeout_ms * rte_get_timer_hz() / MSECPERSEC; in test_timer_secondary()
|
| H A D | test_trace_perf.c | 46 uint64_t hz = rte_get_timer_hz(); in measure_perf() 160 printf("Timer running at %5.2fMHz\n", rte_get_timer_hz()/1E6); in test_trace_perf()
|
| H A D | test_timer_racecond.c | 125 hz = rte_get_timer_hz(); in test_timer_racecond()
|
| H A D | test_pflock.c | 65 uint64_t hz = rte_get_timer_hz(); in load_loop_fn()
|
| H A D | test_mcslock.c | 69 uint64_t hz = rte_get_timer_hz(); in load_loop_fn()
|
| H A D | test_timer_perf.c | 50 const uint64_t ticks = rte_get_timer_hz() * DELAY_SECONDS; in test_timer_perf()
|
| H A D | test_ticketlock.c | 108 uint64_t hz = rte_get_timer_hz(); in load_loop_fn()
|
| H A D | test_spinlock.c | 106 uint64_t hz = rte_get_timer_hz(); in load_loop_fn()
|
| /dpdk/examples/timer/ |
| H A D | main.c | 53 hz = rte_get_timer_hz(); in timer1_cb() 108 hz = rte_get_timer_hz(); in main()
|
| /dpdk/drivers/net/ena/ |
| H A D | ena_ethdev.h | 40 #define ENA_DEVICE_KALIVE_TIMEOUT (ENA_WD_TIMEOUT_SEC * rte_get_timer_hz()) 42 #define ENA_TX_TIMEOUT (5 * rte_get_timer_hz())
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_cycles.h | 116 rte_get_timer_hz(void) in rte_get_timer_hz() function
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_plat_dpdk.h | 94 (rte_get_timer_cycles() * US_PER_S / rte_get_timer_hz()) 204 ((timeout_us) * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles()) 286 ((timeout_us) * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_timer.c | 27 const uint64_t ticks = (uint64_t)us * rte_get_timer_hz() / 1E6; in rte_delay_us_block()
|
| H A D | eal_common_trace_ctf.c | 315 rc = sprintf(str, "%20"PRIu64"", rte_get_timer_hz()); in meta_fix_freq() 367 rte_get_timer_hz()) { in rte_trace_metadata_dump()
|
| /dpdk/drivers/raw/ifpga/base/osdep_rte/ |
| H A D | osdep_generic.h | 58 return rte_get_timer_hz() * (m / 1000); in msecs_to_timer_cycles()
|
| /dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_common.h | 132 rsrc->timer_period = 10 * rte_get_timer_hz(); in l2fwd_get_rsrc()
|
| /dpdk/drivers/event/dsw/ |
| H A D | dsw_evdev.c | 65 (DSW_LOAD_UPDATE_INTERVAL * rte_get_timer_hz()) / US_PER_S; in dsw_port_setup() 68 (DSW_MIGRATION_INTERVAL * rte_get_timer_hz()) / US_PER_S; in dsw_port_setup()
|
| /dpdk/app/test-eventdev/ |
| H A D | test_perf_common.c | 209 (rte_get_timer_hz() / 1000000) : 0); in perf_event_timer_producer() 273 (rte_get_timer_hz() / 1000000) : 0); in perf_event_timer_producer_burst() 490 const uint64_t dead_lock_sample = rte_get_timer_hz() * 5; in perf_launch_lcores() 494 const uint64_t perf_sample = rte_get_timer_hz(); in perf_launch_lcores() 499 const uint64_t freq_mhz = rte_get_timer_hz() / 1000000; in perf_launch_lcores()
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_osdep.h | 41 #define usec_stamp() (rte_get_timer_cycles() * 1000000 / rte_get_timer_hz())
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 469 hz = rte_get_timer_hz(); in power_timer_cb() 1332 hz = rte_get_timer_hz(); in main_legacy_loop() 2384 uint64_t hz = rte_get_timer_hz(); in telemetry_setup_timer() 2399 uint64_t hz = rte_get_timer_hz(); in empty_poll_setup_timer() 2434 cycles_10ms = rte_get_timer_hz() / 100; in launch_timer() 2442 cycles_10ms = rte_get_timer_hz() / 100; in launch_timer() 2755 hz = rte_get_timer_hz(); in main()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 767 (check_period * rte_get_timer_hz()) / 1000, in main() 779 (timer_period * rte_get_timer_hz()) / 1000, in main()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn10k_cryptodev_ops.c | 262 DEFAULT_COMMAND_TIMEOUT * rte_get_timer_hz(); in cn10k_cpt_enqueue_burst() 531 rte_get_timer_hz(); in cn10k_cpt_dequeue_burst()
|
| H A D | cn9k_cryptodev_ops.c | 314 DEFAULT_COMMAND_TIMEOUT * rte_get_timer_hz(); in cn9k_cpt_enqueue_burst() 553 rte_get_timer_hz(); in cn9k_cpt_dequeue_burst()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ptp.c | 56 (double)pow(10, floor(log10(t_freq))) / rte_get_timer_hz(); in cnxk_nix_tsc_convert()
|