Home
last modified time | relevance | path

Searched refs:tsc (Results 1 – 13 of 13) sorted by relevance

/dpdk/lib/eal/x86/include/
H A Drte_cycles.h33 } tsc; in rte_rdtsc() local
39 "=a" (tsc.lo_32), in rte_rdtsc()
40 "=d" (tsc.hi_32) : in rte_rdtsc()
42 return tsc.tsc_64; in rte_rdtsc()
47 "=a" (tsc.lo_32), in rte_rdtsc()
48 "=d" (tsc.hi_32)); in rte_rdtsc()
49 return tsc.tsc_64; in rte_rdtsc()
/dpdk/lib/eal/arm/include/
H A Drte_cycles_64.h29 uint64_t tsc; in __rte_arm64_cntvct() local
31 asm volatile("mrs %0, cntvct_el0" : "=r" (tsc)); in __rte_arm64_cntvct()
32 return tsc; in __rte_arm64_cntvct()
82 uint64_t tsc; in __rte_arm64_pmccntr() local
84 asm volatile("mrs %0, pmccntr_el0" : "=r"(tsc)); in __rte_arm64_pmccntr()
85 return tsc; in __rte_arm64_pmccntr()
H A Drte_cycles_32.h65 unsigned tsc;
69 asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r"(tsc));
71 final_tsc = ((uint64_t)tsc) << 6;
/dpdk/app/test/
H A Dtest_malloc_perf.c24 tsc_to_us(uint64_t tsc, size_t runs) in tsc_to_us() argument
26 return (double)tsc / rte_get_tsc_hz() * US_PER_S / runs; in tsc_to_us()
36 uint64_t tsc; in test_memset_perf() local
46 tsc = rte_rdtsc_precise(); in test_memset_perf()
49 tsc = rte_rdtsc_precise() - tsc; in test_memset_perf()
51 *us_per_gb = tsc_to_us(tsc, RUNS); in test_memset_perf()
/dpdk/drivers/common/cnxk/
H A Droc_nix_ptp.c52 roc_nix_ptp_clock_read(struct roc_nix *roc_nix, uint64_t *clock, uint64_t *tsc, in roc_nix_ptp_clock_read() argument
72 if (tsc) in roc_nix_ptp_clock_read()
73 *tsc = rsp->tsc; in roc_nix_ptp_clock_read()
H A Droc_nix.h862 uint64_t *tsc, uint8_t is_pmu);
H A Droc_mbox.h1926 uint64_t __io tsc; member
/dpdk/drivers/net/cnxk/
H A Dcnxk_ptp.c31 uint64_t ticks_base = 0, ticks = 0, tsc = 0, t_freq; in cnxk_nix_tsc_convert() local
36 rc = roc_nix_ptp_clock_read(nix, &ticks_base, &tsc, false); in cnxk_nix_tsc_convert()
44 rc = roc_nix_ptp_clock_read(nix, &ticks, &tsc, false); in cnxk_nix_tsc_convert()
62 rc = roc_nix_ptp_clock_read(nix, &ticks, &tsc, val); in cnxk_nix_tsc_convert()
69 dev->clk_delta = ((uint64_t)(ticks / dev->clk_freq_mult) - tsc); in cnxk_nix_tsc_convert()
/dpdk/drivers/event/cnxk/
H A Dcnxk_tim_evdev.h176 uint64_t tsc; in cnxk_tim_cntvct() local
178 asm volatile("mrs %0, cntvct_el0" : "=r"(tsc)); in cnxk_tim_cntvct()
179 return tsc; in cnxk_tim_cntvct()
/dpdk/lib/table/
H A Drte_swx_table_wm.c54 uint64_t tsc = rte_get_tsc_cycles(); in get_unique_name() local
61 snprintf(name, size, "%016" PRIx64, tsc); in get_unique_name()
/dpdk/doc/guides/linux_gsg/
H A Dlinux_eal_parameters.rst31 * ``--vmware-tsc-map``
H A Dbuild_sample_apps.rst94 * ``--vmware-tsc-map``:
/dpdk/doc/guides/rel_notes/
H A Drelease_2_1.rst523 On IBM POWER8 PPC64 little endian architecture, the definition of tsc union