High resolution timer with C++ and Linux?

It’s been asked before here — but basically, there is a boost ptime function you can use, or a POSIX clock_gettime() function which can serve basically the same purpose.

Leave a Comment