Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: VC++ profiler

Author: Marc

Date: 16:41:09 01/07/99

Go up one level in this thread


On January 07, 1999 at 17:57:38, Amir Ban wrote:

>On January 07, 1999 at 17:20:11, Marc wrote:
>
>>On January 07, 1999 at 12:54:47, James Robertson wrote:
>>
>>>I am having a terrible time trying to VC++ 5.0 profiler to work. Here is what I
>>>am doing:
>>>1. Going to Project:Settings, and enabling profiling.
>>>2. Going to Build:Profile, and choosing function timing.
>>>3. Going to Build:Execute Program and executing my program.
>>>4. Looking vainly for profile output (there is none in the profile tab of the
>>>output window).
>>>
>>>Help!
>>>
>>>James
>>
>>I had the same problem and found no help in the documentation.
>>What I ended up doing is adding the MS VC bin path to my autoexec.bat file then
>>running
>>1.PREP
>>2.PROFILE
>>3.PREP
>>4.PLIST
>>from inside a DOS window.  That works fine.
>>You'll probably want to do it this way anyway in order to use all the nifty
>>options (like profiling a thread).
>>You can get all the info you need on PREP/PLIST... from the Developer's Network
>>CD.
>>
>>Hope that helps, and if you figure out how to profile from the dev environment,
>>please post instructions.
>>
>>Marc
>
>I also got this far after a few weeks of puzzling why the profile feature
>doesn't work, until I hit on a doc page describing something like the above. It
>sort of works, but I found the profiling results to be illogical and
>meaningless. I played around with it until I gave it up. The thing is
>practically undocumented, insanely complicated, and probably doesn't work
>either.
>

The raw output of PLIST is meaningless, until you load it into Excel.
The documentation has step-by-step instructions on how to convert the PLIST'd
output file into tab-delimited form, load it into Excel, and an Excel macro that
makes sense of the data.  I don't have the specific documentation location, but
a search on PLIST or tab-delimited might help.

>I hope this helps :)
>
>Amir



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.