Is there an equivalent C function in linux for reading the CPU counter and its frequency?
I am looking for something similair to QueryPerformanceCounter function that re
clock_gettime(2), with an argument of CLOCK_REALTIME_HR.
CLOCK_REALTIME_HR