high precision timers

loïc tourlonias loic.tourlonias at gmail.com
Mon May 3 11:15:06 EDT 2021


Hi

On Mon, May 3, 2021 at 2:16 PM Hyeonggon Yoo <42.hyeyoo at gmail.com> wrote:

> Greg, and Valdis Thank you so much! It helped a lot!
>
> I thought there would be a way to do it because of high resolution.
>
> 2021년 5월 3일 (월) 오후 8:13, Valdis Klētnieks <valdis.kletnieks at vt.edu>님이 작성:
>
>> On Mon, 03 May 2021 00:56:17 +0900, Hyeonggon Yoo said:
>>
>> > I mean, is there an API that guarantees high precision (non architecture
>> > dependent way)
>>
>> How do you guarantee high precision if you're on hardware that doesn't
>> provide a high precision/resolution timer?
>>
>
If you don't have any hardware support, the Linux kernel can't magically
count faster than its system tick. ^^


> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210503/dc2983cd/attachment.html>


More information about the Kernelnewbies mailing list