Profiling tool for Vis C++?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got Visual C++ 2003. I'm looking for a profiling tool. I'm from the
Unix world where a good profiler comes free and built into the compiler and
linker.

I tried the Help utility in Visual C++ and got 500 hits for "profile" .. but
none of them indicated that a profiler is built-into Visual C++.

Question: Is there a profiler built into Visual C++ 2003? If not, can any
one recommend a free profiler?

Thanks in advance for any help,
neal
 
noleander said:
I've got Visual C++ 2003. I'm looking for a profiling tool. I'm
from the Unix world where a good profiler comes free and built into
the compiler and linker.

I tried the Help utility in Visual C++ and got 500 hits for "profile"
.. but none of them indicated that a profiler is built-into Visual
C++.

Question: Is there a profiler built into Visual C++ 2003? If not,
can any one recommend a free profiler?

No.

Yes.

http://www.compuware.com/products/d...mmunity+Edition'&offering=DevPartner&sf=1&p=0

(ghastly long URL - Compuware DevPartner Profilter, Community Edition can be
used free of charge with .NET 2003. I've never used it myself).

-cd
 
noleander said:
I've got Visual C++ 2003. I'm looking for a profiling tool. I'm from the
Unix world where a good profiler comes free and built into the compiler and
linker.

I tried the Help utility in Visual C++ and got 500 hits for "profile" .. but
none of them indicated that a profiler is built-into Visual C++.

Question: Is there a profiler built into Visual C++ 2003? If not, can any
one recommend a free profiler?

VC6 had and VC 2005 will have (Team suite). There are not many "free"
profilers for VC. The only i know of is the profiler from compuware.
It´s free but you have to register to be able to download it.
I tried it, but it crashed when profiling a very complex project, though
for other projects it did well. You may give it a try,
or download the VC 2005 beta :-) - if you are a MSDN subscriber.
Thanks in advance for any help,
neal

Andre
 
noleander said:
I've got Visual C++ 2003. I'm looking for a profiling tool. I'm from the
Unix world where a good profiler comes free and built into the compiler and
linker.

I tried the Help utility in Visual C++ and got 500 hits for "profile" .. but
none of them indicated that a profiler is built-into Visual C++.

Question: Is there a profiler built into Visual C++ 2003? If not, can any
one recommend a free profiler?


Here is a nice free .NET profiler by Microsoft:



http://www.microsoft.com/downloads/...52-D7F4-4AEB-9B7A-94635BEEBDDA&displaylang=en

It displays time-costs and everything.



And two videos about how to use it:

http://www.microsoft.com/downloads/...7C-9CD1-45AB-AA4B-8DC586D30938&displaylang=en
 
Andre Kaufmann said:
VC6 had and VC 2005 will have (Team suite). There are not many "free"

Will the profiler for VC 2005 work with straight unmanaged c++ or just
with .Net?
 
Duane said:
Will the profiler for VC 2005 work with straight unmanaged c++ or just
with .Net?

I´ve only played around a bit with the profiler, so i cannot give you
that much and detailed information and since it´s a beta version the
information might not be reliable either.

But so far, *yes* - it also supports native c++.

Anyways i think that would be very restrictive, since the C++ compiler
is meant to be the tie between native and .NET code and is able to mix
them both.

There are various counter types that may be sampled, cache misses,
mispredicted branches, AMD64 specific ones, kernel - io access etc. but
couldn´t find out how to display them / profile them, maybe my beta
version hasn´t implemented the full profiler yet.

However, i´ve managed it to get a clock cycle profile for my test
program and i don´t think, that the counter type selection dialog has
been implement just for the fun of it ;-)

Andre
 
Andre Kaufmann said:
I´ve only played around a bit with the profiler, so i cannot give you
that much and detailed information and since it´s a beta version the
information might not be reliable either.

But so far, *yes* - it also supports native c++.

Thanks. I've downloaded some demo profilers but some
seem to work only with managed stuff even though they
claim to work with straight c++.
 
noleander said:
I've got Visual C++ 2003. I'm looking for a profiling tool. I'm from the
Unix world where a good profiler comes free and built into the compiler and
linker.

I tried the Help utility in Visual C++ and got 500 hits for "profile" .. but
none of them indicated that a profiler is built-into Visual C++.

Question: Is there a profiler built into Visual C++ 2003? If not, can any
one recommend a free profiler?

Not free, but if you can't find what you need for free:
http://www.semdesigns.com/Products/Profilers/CppProfiler.html
 
VC6 had and VC 2005 will have (Team suite). There are not many "free"
profilers for VC.

Does anyone knows why the Express version of VC 2005 don't have any profiler
? Even a simple text tool as unix/linux have (gprof) ?

I think even Express users may want to have a profiler : I often want to see
where is the slower part of my C++ (native) programs, and a the lack of
profiling tools in VC8 Express makes me mad. VCExpress is intented to be sold
$49 and I think that's enough to get a SIMPLE profiler (I'm not asking for a
very powerful tool).

Sukender
 
Hi Sukender!
I think even Express users may want to have a profiler : I often want to see
where is the slower part of my C++ (native) programs, and a the lack of
profiling tools in VC8 Express makes me mad.

VC Express is primarily designed from managed development, therefor the
PSDK is also not shipped with this version. This might also be the
reason to remove the native profiler...

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
VC Express is primarily designed from managed development

Thank you for you answer, Jochen.
But actually I thought Microsoft created Express versions to be more
competitive towards free and OpenSource IDEs and compilers for (native) C++.
I'm glad that MS gave a good debugger (well that's my opinion), but
disappointed that no statndard tools like profiling tools were shipped with
VCExpress.

Sukender
 
I'm agree with your opinion. And I think the express edition shoukd be free,
because I'm a student in high school with little money!
 
Jason said:
I'm agree with your opinion. And I think the express edition shoukd
be free, because I'm a student in high school with little money!

Your high school should be able to get it through Microsoft's Acedemic
licensing programs for little or nothing. Have someone there look into it.

-cd
 
Back
Top