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.
See http://developer.apple.com/library/mac/#qa/qa1398/_index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With