Home
last modified time | relevance | path

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

12

/f-stack/dpdk/lib/librte_eal/include/generic/
H A Drte_cycles.h37 rte_get_tsc_hz(void);
122 return rte_get_tsc_hz(); in rte_get_timer_hz()
/f-stack/dpdk/lib/librte_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()
/f-stack/dpdk/lib/librte_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.c39 rte_get_tsc_hz(void) in rte_get_tsc_hz() function
H A Deal_common_trace_ctf.c331 freq = rte_get_tsc_hz(); in meta_fix_freq_offset()
/f-stack/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_timer.c507 const uint64_t t_hz = rte_get_tsc_hz(); in timer_sanity_check()
/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_timer.h30 uint64_t clkns = rte_get_tsc_hz() / 1e4; in _ns_to_clks()
/f-stack/dpdk/examples/pipeline/
H A Dthread.c138 (rte_get_tsc_hz() * THREAD_TIMER_PERIOD_MS) / 1000; in thread_init()
256 (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in thread_pipeline_enable()
425 p->timer_period = (rte_get_tsc_hz() * in thread_msg_handle_pipeline_enable()
/f-stack/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()
/f-stack/dpdk/app/test-bbdev/
H A Dtest_bbdev_perf.c3169 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_dec()
3300 (double)rte_get_tsc_hz()); in bler_pmd_lcore_ldpc_dec()
3423 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_ldpc_dec()
3514 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_enc()
3605 (double)rte_get_tsc_hz()); in throughput_pmd_lcore_ldpc_enc()
4304 (double)rte_get_tsc_hz()); in validation_latency_test()
4760 (double)iter / (double)rte_get_tsc_hz(), in offload_cost_test()
4768 (double)iter / (double)rte_get_tsc_hz(), in offload_cost_test()
4773 rte_get_tsc_hz()); in offload_cost_test()
4786 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()
/f-stack/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_throughput.c388 ctx->comp_gbps = rte_get_tsc_hz() / ctx->comp_tsc_byte * 8 / in cperf_throughput_test_runner()
391 ctx->decomp_gbps = rte_get_tsc_hz() / ctx->decomp_tsc_byte * 8 / in cperf_throughput_test_runner()
/f-stack/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()
/f-stack/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()
/f-stack/dpdk/lib/librte_eal/
H A Drte_eal_exports.def63 rte_get_tsc_hz
H A Dversion.map78 rte_get_tsc_hz;
/f-stack/dpdk/examples/l2fwd-keepalive/
H A Dmain.c203 const uint64_t drain_tsc = (rte_get_tsc_hz() + US_PER_S - 1) in l2fwd_main_loop()
227 uint64_t tsc_lifetime = (rand()&0x07) * rte_get_tsc_hz(); in l2fwd_main_loop()
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_throughput.c265 tsc_duration) * rte_get_tsc_hz(); in cperf_throughput_test_runner()
H A Dcperf_test_latency.c299 const uint64_t tsc_hz = rte_get_tsc_hz(); in cperf_latency_test_runner()
/f-stack/dpdk/lib/librte_port/
H A Drte_port_ras.c96 frag_cycles = (rte_get_tsc_hz() + MS_PER_S - 1) / MS_PER_S * MS_PER_S; in rte_port_ring_writer_ras_create()
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_event.c416 if (rte_rdtsc() / rte_get_tsc_hz() < MLX5_VDPA_ERROR_TIME_SEC) in mlx5_vdpa_err_interrupt_handler()
428 sec = (rte_rdtsc() - virtq->err_time[0]) / rte_get_tsc_hz(); in mlx5_vdpa_err_interrupt_handler()
/f-stack/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()
1183 uint64_t ms_ticks = rte_get_tsc_hz() / 1000; in bond_mode_8023ad_conf_get()
1216 uint64_t ms_ticks = rte_get_tsc_hz() / 1000; in bond_mode_8023ad_conf_assign()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dip_fragment_reassembly_lib.rst52 frag_cycles = (rte_get_tsc_hz() + MS_PER_S - 1) / MS_PER_S * max_flow_ttl;

12