Hello,

I have a certain section of code that takes a pretty long time (a few seconds - but it shouldnt be that long).

What i want is a "profiler" that analyses the code as it runs and will tell me "50% of the execution time was in function ABC" etc etc. So it gives me a breakdown of my functions in terms of how long they take to process.

I know there is a word for this sort of tool - but i can't remember it. "Profiler"??

Does anyone know if Visual Studion comes with such a tool - or of any 3rd party tools (preferably free) which i can use?

Thanks in advance,

Mark