Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: VC++ profiler

Author: Amir Ban

Date: 14:57:38 01/07/99

Go up one level in this thread


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.

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.