C linux equivalent of windows QueryPerformanceCounter

Posted by myforwik on Stack Overflow See other posts from Stack Overflow or by myforwik
Published on 2010-04-17T07:04:18Z Indexed on 2010/04/18 0:33 UTC
Read the original article Hit count: 512

Filed under:
|
|
|

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 reads the 64bit counter in modern CPU's

© Stack Overflow or respective owner

Related posts about c

    Related posts about winapi