Jump to content
  • Advertisement
Sign in to follow this  
Broni

Timing multithreaded apps

This topic is 3650 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!