Profiling in Visual C++ Express
Moderator: Ras
-
- Posts: 4408
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: Profiling in Visual C++ Express
As another poster mentioned AMD has a free tool for download (http://developer.amd.com/cpu/codeanalys ... fault.aspx). I tried this and it does produce interesting reports. Integrates nicely with VC++ too.
-
- Posts: 794
- Joined: Wed Jul 19, 2006 9:58 am
Re: Profiling in Visual C++ Express
I'll give it a try, thanks 

-
- Posts: 1056
- Joined: Fri Mar 10, 2006 6:07 am
- Location: Basque Country (Spain)
Re: Profiling in Visual C++ Express
There are some manual quick to use codeanalyst?jdart wrote:As another poster mentioned AMD has a free tool for download (http://developer.amd.com/cpu/codeanalys ... fault.aspx). I tried this and it does produce interesting reports. Integrates nicely with VC++ too.
I would like to know % of the time used for each function of the program to find bottlenecks.
Pedro
Re: Profiling in Visual C++ Express
Run it and read the output ?pedrox wrote:There are some manual quick to use codeanalyst?jdart wrote:As another poster mentioned AMD has a free tool for download (http://developer.amd.com/cpu/codeanalys ... fault.aspx). I tried this and it does produce interesting reports. Integrates nicely with VC++ too.
I would like to know % of the time used for each function of the program to find bottlenecks.
Pedro
If you need a manual for this ( or rather: ask before trying), you might want to reconsider taking chessprogramming as a hobby.
Tony
-
- Posts: 4408
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: Profiling in Visual C++ Express
There is a manual - just go to the download page and look for:
CodeAnalyst for Windows Documentation
--Jon
CodeAnalyst for Windows Documentation
--Jon
-
- Posts: 1056
- Joined: Fri Mar 10, 2006 6:07 am
- Location: Basque Country (Spain)
Re: Profiling in Visual C++ Express
I suppose that the next version of your program will play better than Rybka 3.0, otherwise I do not understand your comment.Tony wrote:Run it and read the output ?pedrox wrote:There are some manual quick to use codeanalyst?jdart wrote:As another poster mentioned AMD has a free tool for download (http://developer.amd.com/cpu/codeanalys ... fault.aspx). I tried this and it does produce interesting reports. Integrates nicely with VC++ too.
I would like to know % of the time used for each function of the program to find bottlenecks.
Pedro
If you need a manual for this ( or rather: ask before trying), you might want to reconsider taking chessprogramming as a hobby.
Tony
In addition, you confuse speed with bacon, as it does not need to use a tool as codeanalyst to build an engine, I am sure that more than half of the programmers do not use a tool as it is.
My problem with this tool is that I've tried to use it on Virtual PC and after that I did not get the name of the functions, but your reply not served me a lot.
-
- Posts: 1056
- Joined: Fri Mar 10, 2006 6:07 am
- Location: Basque Country (Spain)
Re: Profiling in Visual C++ Express
Thxjdart wrote:There is a manual - just go to the download page and look for:
CodeAnalyst for Windows Documentation
--Jon
Re: Profiling in Visual C++ Express
What does that mean ? You're not allowed to say something unless you can write a strong engine ?pedrox wrote:I suppose that the next version of your program will play better than Rybka 3.0, otherwise I do not understand your comment.Tony wrote:Run it and read the output ?pedrox wrote:There are some manual quick to use codeanalyst?jdart wrote:As another poster mentioned AMD has a free tool for download (http://developer.amd.com/cpu/codeanalys ... fault.aspx). I tried this and it does produce interesting reports. Integrates nicely with VC++ too.
I would like to know % of the time used for each function of the program to find bottlenecks.
Pedro
If you need a manual for this ( or rather: ask before trying), you might want to reconsider taking chessprogramming as a hobby.
Tony
This doesn't really make any sensepedrox wrote:
In addition, you confuse speed with bacon, as it does not need to use a tool as codeanalyst to build an engine, I am sure that more than half of the programmers do not use a tool as it is.
You should have said this before, this makes sense. My point was that if you can't figure out how Code Analyst works, then you must be close to an idiot ( well, I can say now, cause you're not).pedrox wrote:
My problem with this tool is that I've tried to use it on Virtual PC and after that I did not get the name of the functions, but your reply not served me a lot.
If however it doesn't work correct, that makes it different.
Maybe it was designed to not work. Profiling on a virtual machine doesn't really make sense. You're not profiling the code, you're profiling the hardware (virtualization) capabilities.
Furthermore, CA seems to need some kind of hardware clock, wich might not be available in virtual mode.
I think you have to go for realmode.
( I'll see if I can get it to work with one of my virtual machines.)
Cheers,
Tony