Advertisement Jump to content
Sign in to follow this  

Timing multithreaded apps

This topic is 3862 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!