Archived

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

Endemoniada

Profiler ?

Recommended Posts

Endemoniada    430
Hi guys, I''ve been programming in VC++ for years but never used a profiler before. I always tried to make my programs fast but it didn''t really matter if something took a half second to compute. Now I''m making a game so it does matter. I use Visual C++ 6.0 with SP5, does that include a profiler ? If not which one should I use ? Also, I''m using DirectX so should I test the algorithms without rendering ? To be honest, I don''t even know how to step through code with DirectX because when I set a break point it never goes back to the debugger. Any help is appreciated.

Share this post


Link to post
Share on other sites
timiscool999    122
Read the Enginuity series hosted here on Gamedev. The author goes through the process of writing a pretty good homebrew profiler. Commercial ones are quite expensive, and the one in Enginuity is "good enough."

-timiscool999
"I like waffles. Especially with syrup." -me

XBox controller v2.0

click for bigger picture

Share this post


Link to post
Share on other sites
CpMan    532
Compuware has a free profiler for VS.NET and the older versions of CodeAnalyst were very good, and free.




VSEDebug Visual Studio.NET Add-In. Enhances debugging in ways never thought possible.

Share this post


Link to post
Share on other sites