Sign in to follow this  

Chasing CPU hogs

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

My FPS suddenly dropped from a solid 65 (the limit) down to 20, and all I did was some minor changes in something that happens on a specific event. I can't seem to get it back. In investigating this and problems like it, being able to display the elapsed time of functions as well as the number of times it's called per tick might be helpful. Can Visual C++ 2008 do this? Any other tips or links for analysis of how different parts of your code effect runtime and FPS? -- Dell Inspiron e1505, built-in i945 gfx, VC++ 2k8 Express, WinXP Pro SP2

Share this post


Link to post
Share on other sites
Try Windows Performance Toolkit if you're looking for a free solution. vTune if you're able to hand over some money.

Share this post


Link to post
Share on other sites
Cool, thanks for the tips.

I have since discovered the hog to be my having switched DirectX to debug mode, with maximum output level and checks on everything. (Didn't realize that made things so slow.) I will be moving to an optimization stage some time soon, though, and those may come in handy.

Share this post


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