Recent

Author Topic: High resolution timer  (Read 828 times)

Borneq

  • Full Member
  • ***
  • Posts: 248
High resolution timer
« on: May 02, 2022, 10:33:05 am »
Not milliseconds but microseconds.
In Windows is QueryPerformanceCounter.
Rdtsc is bad since new processors have multicores.
How is best solution for Linux?

Zvoni

  • Hero Member
  • *****
  • Posts: 2327
« Last Edit: May 02, 2022, 10:41:54 am by Zvoni »
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

Borneq

  • Full Member
  • ***
  • Posts: 248
Re: High resolution timer
« Reply #2 on: May 02, 2022, 10:51:01 am »
EpikTimer is rdtsc based? I am going see these links.

 

TinyPortal © 2005-2018