Hi Stephen,
On Thu, Nov 29, 2018 at 01:21:52PM -0800, Stephen Hemminger wrote:
> On Thu, 29 Nov 2018 08:32:03 +
> Pavan Nikhilesh wrote:
>
> > When estimating tsc frequency using sleep/gettime round it up to the
> > nearest multiple of 10Mhz for more accuracy.
> >
> > Signed-off-by: Pavan Nik
On Thu, 29 Nov 2018 08:32:03 +
Pavan Nikhilesh wrote:
> When estimating tsc frequency using sleep/gettime round it up to the
> nearest multiple of 10Mhz for more accuracy.
>
> Signed-off-by: Pavan Nikhilesh
Rounding reduces accuracy.
Why is this code being used? Shouldn't get_tsc_freq_ar
-Original Message-
> Date: Thu, 29 Nov 2018 14:02:03 +0530
> From: "Bhagavatula, Pavan"
> To: "Jacob, Jerin"
> CC: "dev@dpdk.org" , "Bhagavatula, Pavan"
>
> Subject: [dpdk-dev] [PATCH] eal: roundup tsc frequency when estimating
When estimating tsc frequency using sleep/gettime round it up to the
nearest multiple of 10Mhz for more accuracy.
Signed-off-by: Pavan Nikhilesh
---
lib/librte_eal/common/eal_common_timer.c | 4 ++--
lib/librte_eal/common/include/rte_common.h | 10 ++
lib/librte_eal/linuxapp/eal/eal_t
4 matches
Mail list logo