Jump to content
  • Advertisement
Sign in to follow this  
cpp forever

[C++] Implement performance checker

This topic is 4629 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

I want to get some units count to know whether this piece of code is faster than the other (not concerning to different CPUs). Just don't know from where to start. What functions would you recommend?

Share this post


Link to post
Share on other sites
Advertisement
Start with googling the term "profiler".

If you really want to implement your own, take a look at how they've done it in some of the open source ones.

If you just want to know where to optimize, just use one of them.

Share this post


Link to post
Share on other sites
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!