Timing multithreaded apps

Started by
-1 comments, last by Broni 15 years, 10 months ago
Hi all, I am trying to obtain some timing information from my multithreaded applications. I use the boost.thread libs to implement the threaded environment, and then make use of the boost::progress_timer to output the time the application took to execute. However it appears that the program is completing significantly faster than the time being reported. I suspected that what the timer function was reporting back was a summation of all the times of each thread? Is this correct? I think used the Unix command line time function (e.g. time a.out) and it reported kolmo/src> time boost_examples 77.67 s - this is the output from progress_timer 77.678u 0.000s 0:19.85 391.2% 0+0k 0+0io 0pf+0w - u -output from unix time Does anyone know of a good lib for timing multithreaded applications? Many thanks for all your help. Broni

This topic is closed to new replies.

Advertisement