Author: Tom Kerrigan
Date: 17:24:59 02/01/00
Many people have given me tips about using the VC++ profiler, and this afternoon I actually got it to work! If other people are brave enough to try this, here are the two main tricks: 1. Modify your program so it doesn't use stdin/stdout 2. Set the program's working directory in Project/Settings Here are my comments. First, when profiling, my program ran __72 times__ slower than normal. I was only doing function timing! I think this is absurd. Second, I did two consecutive profiling runs, and the resulting data was TOTALLY DIFFERENT. This isn't an issue of one function being a little higher than another. Example: in the first run, my move generator wasn't even in the top ten functions. In the second one, it was the most expensive function by a long shot! None of the other data matched either. And I was running my program for more than 2 minutes per run! So, the upshot is that I would prefer hitting my toes with a hammer to using this stupid profiler POS again. -Tom
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.