C linux equivalent of windows GetWPC and GetWPCFreq
- by myforwik
Is there an equivalent C function in linux for reading the CPU counter and its frequency?
I am looking for something similair to GetWPC and GetWPCFreq winapi functions that uses the 64bit counters in modern cpu's