PDA

View Full Version : finding the time interval of executing a program



babu198649
13th December 2007, 12:29
hi
is there any function to calculate the execution time of a program in QT.

the QTimer class has no functionality to do this .

Uwe
13th December 2007, 13:05
Maybe you are looking for something like:


QTime time = QTime::currentTime();
...
qDebug() << time.elapsed();

Uwe