Home
last modified time | relevance | path

Searched refs:rte_get_tsc_hz (Results 1 – 25 of 50) sorted by relevance

12

/dpdk/lib/eal/include/generic/
H A Drte_cycles.h37 rte_get_tsc_hz(void);
122 return rte_get_tsc_hz(); in rte_get_timer_hz()
/dpdk/lib/meter/
H A Drte_meter.c45 uint64_t hz = rte_get_tsc_hz(); in rte_meter_srtcm_profile_config()
83 uint64_t hz = rte_get_tsc_hz(); in rte_meter_trtcm_profile_config()
127 uint64_t hz = rte_get_tsc_hz(); in rte_meter_trtcm_rfc4115_profile_config()
/dpdk/app/test/
H A Dtest_meter.c208 uint64_t hz = rte_get_tsc_hz(); in tm_test_srtcm_color_blind_check()
267 uint64_t hz = rte_get_tsc_hz(); in tm_test_trtcm_color_blind_check()
326 uint64_t hz = rte_get_tsc_hz(); in tm_test_trtcm_rfc4115_color_blind_check()
392 uint64_t hz = rte_get_tsc_hz(); in tm_test_srtcm_aware_check()
499 uint64_t hz = rte_get_tsc_hz(); in tm_test_trtcm_aware_check()
598 uint64_t hz = rte_get_tsc_hz(); in tm_test_trtcm_rfc4115_aware_check()
H A Dtest_timer_perf.c51 const uint64_t ticks_per_ms = rte_get_tsc_hz()/1000; in test_timer_perf()
H A Dtest_malloc_perf.c26 return (double)tsc / rte_get_tsc_hz() * US_PER_S / runs; in tsc_to_us()
H A Dtest_timer.c502 const uint64_t t_hz = rte_get_tsc_hz(); in timer_sanity_check()
/dpdk/lib/eal/common/
H A Drte_keepalive.c59 / rte_get_tsc_hz() in print_trace()
130 keepcfg->tsc_mhz = rte_get_tsc_hz() / 1000; in rte_keepalive_create()
H A Deal_common_timer.c33 rte_get_tsc_hz(void) in rte_get_tsc_hz() function
H A Deal_common_trace_ctf.c329 freq = rte_get_tsc_hz(); in meta_fix_freq_offset()
/dpdk/examples/pipeline/
H A Dthread.c145 (rte_get_tsc_hz() * THREAD_TIMER_PERIOD_MS) / 1000; in thread_init()
263 (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in thread_pipeline_enable()
432 p->timer_period = (rte_get_tsc_hz() * in thread_msg_handle_pipeline_enable()
/dpdk/lib/sched/
H A Drte_pie.c35 uint64_t tsc_hz = rte_get_tsc_hz(); in rte_pie_config_init()
/dpdk/examples/qos_sched/
H A Dapp_thread.c161 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in app_tx_thread()
233 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * BURST_TX_DRAIN_US; in app_mixed_thread()
/dpdk/app/test-bbdev/
H A Dtest_bbdev_perf.c3202 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_dec()
3332 (double)rte_get_tsc_hz()); in bler_pmd_lcore_ldpc_dec()
3454 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_ldpc_dec()
3544 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_enc()
3634 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_ldpc_enc()
4333 (double)rte_get_tsc_hz()); in validation_latency_test()
4789 (double)iter / (double)rte_get_tsc_hz(), in offload_cost_test()
4797 (double)iter / (double)rte_get_tsc_hz(), in offload_cost_test()
4802 rte_get_tsc_hz()); in offload_cost_test()
4815 rte_get_tsc_hz()); in offload_cost_test()
[all …]
H A Dmain.c115 ((end - start) * 1000) / (double)rte_get_tsc_hz()); in unit_test_suite_runner()
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_throughput.c390 ctx->comp_gbps = rte_get_tsc_hz() / ctx->comp_tsc_byte * 8 / in cperf_throughput_test_runner()
393 ctx->decomp_gbps = rte_get_tsc_hz() / ctx->decomp_tsc_byte * 8 / in cperf_throughput_test_runner()
/dpdk/app/test-sad/
H A Dmain.c542 (long double)config.nb_tuples * rte_get_tsc_hz() / acc); in lookup()
578 (long double)nm[i] * rte_get_tsc_hz() / tm[i]); in add_rules()
612 (long double)nm[i] * rte_get_tsc_hz() / tm[i]); in del_rules()
/dpdk/examples/l2fwd-event/
H A Dl2fwd_poll.c41 drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) / US_PER_S * in l2fwd_poll_main_loop()
/dpdk/examples/l2fwd-keepalive/
H A Dmain.c202 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in l2fwd_main_loop()
226 uint64_t tsc_lifetime = (rand()&0x07) * rte_get_tsc_hz(); in l2fwd_main_loop()
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_event.c336 if (rte_rdtsc() / rte_get_tsc_hz() < MLX5_VDPA_ERROR_TIME_SEC) in mlx5_vdpa_err_interrupt_handler()
348 sec = (rte_rdtsc() - virtq->err_time[0]) / rte_get_tsc_hz(); in mlx5_vdpa_err_interrupt_handler()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_8023ad.c37 return ((now - start_time) * 1000) / rte_get_tsc_hz(); in bond_dbg_get_time_diff_ms()
205 rte_get_tsc_hz() / 1000); in show_warnings()
1212 uint64_t ms_ticks = rte_get_tsc_hz() / 1000; in bond_mode_8023ad_conf_get()
1245 uint64_t ms_ticks = rte_get_tsc_hz() / 1000; in bond_mode_8023ad_conf_assign()
/dpdk/lib/port/
H A Drte_port_ras.c95 frag_cycles = (rte_get_tsc_hz() + MS_PER_S - 1) / MS_PER_S * MS_PER_S; in rte_port_ring_writer_ras_create()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_throughput.c271 tsc_duration) * rte_get_tsc_hz(); in cperf_throughput_test_runner()
H A Dcperf_test_latency.c304 const uint64_t tsc_hz = rte_get_tsc_hz(); in cperf_latency_test_runner()
/dpdk/drivers/common/cnxk/
H A Droc_platform.h187 #define plt_tsc_hz rte_get_tsc_hz
/dpdk/lib/eal/
H A Dversion.map108 rte_get_tsc_hz;

12