Skip to main content
gamedev.net
🔒 Locked

Visual Studio 7 - No Profiling

Started by Drew_Benton Dec 25, 2004 at 10:33 PM 6 replies 1k views
Original Post
Drew_Benton
Drew_Benton
Does anyone know why Visual Studio 7 removed code profiling? The only reason I have my VS6 is to profile, since I do not want to pay for an external profiler? In addition does anyone use a profiler for VS7 or do like I do and do it in 6? Thanks for your time! - Drew [Edited by - Drew_Benton on May 25, 2005 9:43:15 PM]
mnansgar
mnansgar
The profiler still exists in VS7, but it is only available in the Professional version. (I believe this is the case with VS6 as well.)

EDIT: The profiler is actually missing -- I provided a more detailed posting below regarding other profiling options.

[Edited by - mnansgar on December 25, 2004 11:49:19 PM]
h20, member of WFG 0 A.D.
DukeAtreides076
DukeAtreides076
Quote:
Original post by mnansgar
The profiler still exists in VS7, but it is only available in the Professional version. (I believe this is the case with VS6 as well.)



Really? I thought they removed the profiling option entirely from the linker.
Shannon Barber
Shannon Barber
There's no profiler like the one in VS6 - there's some analyzer thing in the Architect edition for VS7.1+ but it didn't look like a code profiler to me (haven't looked into it).

IIRC, Compuware makes a profiler for VS.Net, I tried it out in beta and it was disappointing for C++ profiling; perhaps it's better now.
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
mnansgar
mnansgar
Quote:
Original post by DukeAtreides076
Really? I thought they removed the profiling option entirely from the linker.


Investigating farther, it seems the linker was removed as DukeAtreides076 stated earlier -- here's some more information I dug up:

In Visual Studio 2005, the profiler is only available in the "Visual Studio Team System" -- NOT in Professional even! http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx

I found the following in the Visual Studio .NET 2003 documentation:

* The /PROFILE linker option has been removed. If you are using a third party profiler that needs /PROFILE, you should instead use /FIXED:NO. In this version, the linker will still accept /PROFILE as a synonym for /FIXED:NO.
* The source profiler, a linker utility, is removed.




If, however, you're using the .NET API, Microsoft provides the .NET Profiling API (which I do not have personal experience with), discussed in a few MSDN articles:

No Code Can Hide from the Profiling API in the .NET Framework 2.0

Inspect and Optimize Your Program's Memory Usage with the .NET Profiler API

Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing

.NET Framework Developer's Guide: Debugging and Profiling Applications
h20, member of WFG 0 A.D.
izzo
izzo
Microsoft suggesting using Compuware's DevPartner Profiler Community Edition with Visual Studio. I seem to recall someone saying that there was even a leaflet in the VC++ box that directed people to Compuware's profiler, but I couldn't find it.

Kinda sucks though.. I downloaded it at work and then two days later someone from Compuware called me asking how I was going with the profiler yada yada yada.

cheers
sam.
Drew_Benton
Drew_Benton
Thanks guys! But does anyone know why they killed Kenny - or is it just the MSoft way of taking out the useful stuff [lol]. (Or what does it say about the actual profiler in 6, maybe flawed?)

[Edited by - Drew_Benton on May 25, 2005 9:43:25 PM]
wyrzy
wyrzy
I use Compuware's DevPartner Profiler Community Edition with VC7 (the free edition). You should be able to download it at: http://www.compuware.com/products/devpartner/default.htm.

After using the profiler in VC6, I do like Compuware's Profiler better. I tried the trial version of Intel's VTune, and while liked that one the best, I didn't think I really needed to spend the money to buy it.

Also, if you have an AMD CPU, there's the "AMD CodeAnalyst Profiler", which I believe is free as well (someone correct me if I'm wrong about that), however my laptop has a Pentium M processor so it would be of little use to me.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.