Archived

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

BeanDog

Application performance profiler?

Recommended Posts

I own the full MSVisualStudio6.0 enterprise edition. I am wondering if there is a tool in it (or somewhere else for free download) that would let me run my program (C++) and tell me where what percentage of the clock cycles is spent. I want to use this to find out which procedures are worth optimizing. ~BenDilts( void );

Share this post


Link to post
Share on other sites
you could do this

before the questionable function do

int startTime = getClockCount();
// function here
int endTime = getClockCount();

int timeTaken = endTime - startTime;

timeTaken will be time in milliseconds



"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
themGames Productions

Share this post


Link to post
Share on other sites
Isn''t there a profiler already in the Visual Studio (I think the name is Application Performance Explorer)??

..

Share this post


Link to post
Share on other sites