Jump to content
  • Advertisement
Sign in to follow this  
dietepiet

AMD code analyst in Visual Studio 2005

This topic is 3413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I installed the AMD code analyst and it automatically integrated with my visual studio environment. Now, for each profiling sample I can obtain the corresponding asm instruction, but I cant automatically get the corresponding c++ code. From what I saw in the documentation, this should be possible. Anyone any suggestions on what I might have forgotten. Do I need to set some special compilation settings for this? Thanx, Dietger

Share this post


Link to post
Share on other sites
Advertisement
Have you set your source path in the right way? Under tools -> Code analyst options -> Directories you should be able to set yor project path, your source path and your path to the debug symbols.

Kimmi

Share this post


Link to post
Share on other sites
Thanx for your replay,
I tried adding my source directory, but that does not seem to help much. I noticed that I only have the problem when compiling the project in Release mode. When compiling with Debug mode, it works fine. Profiling in debug mode is however not very useful.

Share this post


Link to post
Share on other sites
Do you have gernated pdb-files for yor release build? If not: maybe that is the reason for your issue. You can generate them explicitly in your project settings. I am not sure but maybe the pdb's will only generated for your debug build.

Kimmi

Share this post


Link to post
Share on other sites
Well, you where right that no pdb-files where generated. But having them enabled does not make any difference. I cant think of any other difference between debug and release mode, other than a few optimization flags.

Share this post


Link to post
Share on other sites
Quote:
Original post by dietepiet
Well, you where right that no pdb-files where generated. But having them enabled does not make any difference. I cant think of any other difference between debug and release mode, other than a few optimization flags.


There's a lot of differences between debug and release modes, one of which is that no debug symbols are created. Maybe try adding that?

Share this post


Link to post
Share on other sites
What you might want to do is copy your Release configuration and call it Profile, and undo the changes you have made to Release. You probably don't want to have debug symbols, etc. active for your Release build.

Good luck!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!