Re: [PATCH 3/3] oslat: Allow for arch specific timer frequency measurements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 09, 2021 at 12:29:17PM +0200, nsaenzju@xxxxxxxxxx wrote:
> > I'm also wondering the diff between the two methods on arm64 and whether
> > there's a huge difference on the numbers.
> 
> There isn't much, after rounding the end result in MHz is the same regardless
> of the method used. IIUC, gettimeoftheday() uses the frequency register's value
> to scale the counter measurements. So it makes sense for the results to be
> coherent.
> 
> I figured it's cleaner to get the data from the source instead of inferring it
> with extra math.

Fair enough.  Thanks,

-- 
Peter Xu




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux