Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Making game run faster...

This topic is 6027 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 saw taliesin73 post something about profiling my game and seeing where it spends most of its time, and I was just wondering, how do I do that?

Share this post

Link to post
Share on other sites
I am not sure, but I think that is only a feature of VC++ PRO edition, not the standard edition. You could probably use the PerformanceTimer though to measure the elapsed time of each routine, kinda like

// Do (and time) routines

// Calculate ratios

This SHOULD return the % time spent on each routine, but I dunno, I just thought of it now, havent tried it.

Share this post

Link to post
Share on other sites
In VC you can use the built in profiler. Enable profiling under Project->Settings->Linking, then Build Profiling. While it works for other programs, this crashes in D3D for me though. Anyone know how to fix it?

Share this post

Link to post
Share on other sites

  • 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!