469,334 Members | 4,423 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,334 developers. It's quick & easy.

Profiling tool for Vis C++?

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

Nov 17 '05 #1
18 1543
noleander wrote:
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/de...rtner&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
Nov 17 '05 #2
noleander wrote:
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
Nov 17 '05 #3
noleander wrote:
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/d...displaylang=en

It displays time-costs and everything.

And two videos about how to use it:

http://www.microsoft.com/downloads/d...displaylang=en
Nov 17 '05 #4

"Andre Kaufmann" <an****************@t-online.de> wrote in message news:OL**************@TK2MSFTNGP14.phx.gbl...
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?
Nov 17 '05 #5
Duane Hebert wrote:
"Andre Kaufmann" <an****************@t-online.de> wrote in message news:OL**************@TK2MSFTNGP14.phx.gbl...

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?


I磛e only played around a bit with the profiler, so i cannot give you
that much and detailed information and since it磗 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磘 find out how to display them / profile them, maybe my beta
version hasn磘 implemented the full profiler yet.

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

Andre
Nov 17 '05 #6

"Andre Kaufmann" <an****************@t-online.de> wrote in message news:e9**************@TK2MSFTNGP10.phx.gbl...
I磛e only played around a bit with the profiler, so i cannot give you
that much and detailed information and since it磗 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++.
Nov 17 '05 #7
"noleander" <no*******@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
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/P...pProfiler.html

--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Nov 17 '05 #8
Duane Hebert wrote:
"Andre Kaufmann" <an****************@t-online.de> wrote in message news:e9**************@TK2MSFTNGP10.phx.gbl...

I磛e only played around a bit with the profiler, so i cannot give you
that much and detailed information and since it磗 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++.


Actually i磎 looking at a (2) video from MSDN about the new
profiling capabilities of VS 2005, there should be enough
information about the builtin profiler to compare it with
other ones.
http://channel9.msdn.com/ShowForum.aspx?ForumID=14
Link #1 video: http://channel9.msdn.com/ShowPost.aspx?PostID=46208
Andre

Nov 17 '05 #9
> 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
Nov 17 '05 #10
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/
Nov 17 '05 #11
> 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
Nov 17 '05 #12
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!

"Sukender" <Su******@discussions.microsoft.com> 写入消息新闻:98**********************************@ microsoft.com...
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

Nov 17 '05 #13
> 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
Nov 17 '05 #14
Jason Felix wrote:
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
Nov 17 '05 #15
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/
Nov 17 '05 #16
> 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
Nov 17 '05 #17
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!

"Sukender" <Su******@discussions.microsoft.com> 写入消息新闻:98**********************************@ microsoft.com...
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

Nov 17 '05 #18
Jason Felix wrote:
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
Nov 17 '05 #19

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Richard Wallace | last post: by
5 posts views Thread by rawCoder | last post: by
3 posts views Thread by Mark Fox | last post: by
13 posts views Thread by Jens Theisen | last post: by
4 posts views Thread by Sharon | last post: by
1 post views Thread by =?UTF-8?B?TWFydGluIFDDtnBwaW5n?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.