Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
GAURAV PANT last edited by
Hi i have 10 functions.
I want to display current execution time of each function in my GUI in hh::MM::ss::ms format.
Eg. suppose function1 takes 0 hr 1 min 2 sec 33 ms to execute then the counter for function1 should starts from 0 0 0 0 and dynamically on a label it should display time from 0 0 0 0 to 0 hr 1min 2sec 33ms. Its like i don't want only the end time. The user should abe able to view the every time value between 0 0 0 0 to 0hr 1min 2sec 33ms.
Use "QElapsedTimer":http://qt-project.org/doc/qt-5/qelapsedtimer.html to measure your execution time.