Re: [dpdk-dev] [PATCH v2] examples/timer: fix incorrect time interval

2021-05-12 Thread Thomas Monjalon
06/05/2021 11:29, Min Hu (Connor): > From: Chengchang Tang > > Timer sample example assumes that the frequency of the timer is about > 2Ghz to control the period of calling rte_timer_manage(). But this > assumption is easy to fail. For example. the frequency of tsc on ARM64 > is much less than 2G

[dpdk-dev] [PATCH v2] examples/timer: fix incorrect time interval

2021-05-06 Thread Min Hu (Connor)
From: Chengchang Tang Timer sample example assumes that the frequency of the timer is about 2Ghz to control the period of calling rte_timer_manage(). But this assumption is easy to fail. For example. the frequency of tsc on ARM64 is much less than 2Ghz. This patch uses the frequency of the curre