I am using Visual Studio 2005 to develop C++ standalone application. On one of my users' computer, my program is performing really badly. It runs slow, some iterations of a particular loop take an unusually long time to complete, etc. I have saved the symbol (PDB file) of my EXE for the build that my user is using.
Now, I want to know if there is a way I can start profiling the performance of this EXE when the user starts using it. I can request the user to run the profiler and my EXE together. I am looking for some kind of tool that starts profiling it, writes all profile-data into a file and then I should be able to use that file along with my PDB function to learn how much time was spent in which function. In this way, I will be able to identify which function was causing the bottleneck.
Is there such a tool available?