high precision timers

Hyeonggon Yoo 42.hyeyoo at gmail.com
Sun May 2 11:56:17 EDT 2021


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

Thanks!

2021년 5월 2일 (일) 오후 11:54, Greg KH <greg at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210503/7ff05e9f/attachment.html>


More information about the Kernelnewbies mailing list