I'm porting a library from Windows to *NIX (currently OSX), does anyone now what function can I use instead of Microsoft's QueryPerformanceCounter and QueryPerformanceFrequency?
On OSX mach_absolute_time and mach_timebase_info are the best equivalents to Win32 QueryPerformance* functions.
mach_absolute_time
mach_timebase_info
See http://developer.apple.com/library/mac/#qa/qa1398/_index.html
1.4m articles
1.4m replys
5 comments
57.0k users