How about QTime? Depending on your platform it should have 1 millisecond accuracy. Code would look something like this:
QTime myTimer;
myTimer.start();
// do something..
int nMilliseconds = myTimer.elapsed();
How about QTime? Depending on your platform it should have 1 millisecond accuracy. Code would look something like this:
QTime myTimer;
myTimer.start();
// do something..
int nMilliseconds = myTimer.elapsed();