What's the equivalent of Windows' QueryPerformanceCounter on OSX?
http://www.tin.org/bin/man.cgi?section=3&topic=clock_gettime(and the other functions mentioned there)- it's Posix! Will fall back to worse counters if HPET is not existent. (shouldn't be a problem though)
http://en.wikipedia.org/wiki/High_Precision_Event_Timer
Resolution should be about +10Mhz.