I mean, is there an API that guarantees high precision (non architecture dependent way)

Thanks!

2021년 5월 2일 (일) 오후 11:54, Greg KH <greg@kroah.com>님이 작성:
On Sun, May 02, 2021 at 11:10:11PM +0900, Hyeonggon Yoo wrote:
> the 'timer wheel' - which has low resolution works at jiffy resolution.
> so usually it has precision of 1~10ms.
>
> and there's high resolution timers in kernel to have nanosecond resolution,
> but it doesn't seem to have nanosecond precision
>
> is there a way to deal with high precision timers in kernel?

What exactly are you needing here?  And do you have hardware that
provides both high precision and high resolution?

thanks,

greg k-h