title: C linux equivalent of windows QueryPerformanceCounter
body: <p>Is there an equivalent C function in linux for reading the CPU counter and its frequency?</p>
  
  <p>I am looking for something similair to QueryPerformanceCounter function that reads the 64bit counter in modern CPU's</p>