Author: Pham Hong Nguyen
Date: 20:53:01 06/09/02
Go up one level in this thread
[snip] >I do not know how to enable profiling and even if I find out how to do it >I do not know how to use it. To enable profiling in VC: Go to Project/Settings/Link tab, click on Enable profiling. You may need to re-build all your project. Here is an example from my work to profile: - Decide what main function need to be profiled, in my case, it is ComputerMove, - Find and open the file .map in the Release directory. - Search the name ComputerMove in this .map file, it was re-written in other form, in my case it is ?ComputerMove@CChessEngine@@QAEIII@Z. - Now, from menu Project/Profile enter the following content into Advance settings box: /SF ?ComputerMove@CChessEngine@@QAEIIII@Z - Select function timing If you click Ok button, VC++ will start profile. Just play normally (speed will be reduced much). After finishing, VC will print out profile statistics in its profile window. Learn to analyse it. Hope you feel easy now to profile. You may find and read more about profile in help (a lot). I think profile of VC is as good as Intel's and totally free (with VC's user). Pham Hong Nguyen
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.