High resolution timer lazarus / 32-Linux ---------------------------------------------------------------------- Borneq · 2022-05-02 08:33 Not milliseconds but microseconds. In Windows is QueryPerformanceCounter. Rdtsc is bad since new processors have multicores. How is best solution for Linux? ---------------------------------------------------------------------- Zvoni · 2022-05-02 08:38 See here: https://www.freepascal.org/docs- html/rtl/linux/clock_gettime.html read this: http://www.guyrutenberg.com/2007/09/22/profiling-code- using-clock_gettime/ https://stackoverflow.com/questions/6749621/how-to-create-a-high- resolution-timer-in-linux-to-measure-program-performance https://stackoverflow.com/questions/3523442/difference-between-clock- realtime-and-clock-monotonic You have to include unit "Linux" ---------------------------------------------------------------------- Borneq · 2022-05-02 08:51 EpikTimer is rdtsc based? I am going see these links.