[dpdk-dev] [PATCH] cycles: add isb before read cntvct_el0

Jerin Jacob jerinjacobk at gmail.com
Mon Mar 9 16:43:01 CET 2020


On Mon, Mar 9, 2020 at 2:43 PM Linhaifeng <haifeng.lin at huawei.com> wrote:
>
> We nead isb rather than dsb to sync system counter to cntvct_el0.

# Currently rte_rdtsc() does not have dsb. Right? or any barriers.
# Why do you need it? If it regarding, getting accurate value then use
rte_rdtsc_precise().

>
> Signed-off-by: Haifeng Lin <haifeng.lin at huawei.com>


More information about the dev mailing list