Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Looking for a good memory and CPU profiler

2 views
Skip to first unread message

Johnson

unread,
Nov 27, 2009, 3:44:36 PM11/27/09
to
I am at a stage to test the footprint of my projects, such as the CPU
usage and memory usage during its running. My project is written in
standard c++.
Could anybody please recommend a memory and CPU profiler, easy to learn,
better open-source and free?
Thank you!
Johnson

Johnson

unread,
Nov 27, 2009, 3:48:35 PM11/27/09
to
BTW, has anybody ever tried IBM's z/TPF software profiler? Is it good?

Ian Collins

unread,
Nov 27, 2009, 3:54:51 PM11/27/09
to

Such tool are invariably tool-chain or platform specific, so you should
try asking in a more relevant forum.

--
Ian Collins

Johnson

unread,
Nov 27, 2009, 4:02:03 PM11/27/09
to
Thanks for the info, Ian. This project is developed under Microsoft
Visual C++ 2008. Do you have any recommendation for trhe profiler?
BTW, can you recommend me a few relevant forum?

Andy Champ

unread,
Nov 28, 2009, 1:05:33 PM11/28/09
to
Johnson wrote:
> Thanks for the info, Ian. This project is developed under Microsoft
> Visual C++ 2008. Do you have any recommendation for trhe profiler?
> BTW, can you recommend me a few relevant forum?

Microsoft Visual C++ 2008 has a profiler built in. Or at least, it did
last week when I was profiling madly...

Look for Analyze [sic] on the menus.

Which edition do you have?

Andy

Johnson

unread,
Nov 30, 2009, 11:16:08 AM11/30/09
to
Thank you, Andy, I am using Visual C++ 2008 Express Edition. Does it
have the tools you mentioned?

Johnson

André Schreiter

unread,
Nov 30, 2009, 11:38:06 AM11/30/09
to
Johnson schrieb:

> Andy Champ wrote:
> Thank you, Andy, I am using Visual C++ 2008 Express Edition. Does it
> have the tools you mentioned?

No, only Visual Studio Team System has it.

Johnson

unread,
Nov 30, 2009, 2:55:26 PM11/30/09
to andre.s...@gmx.de
Thank you all very much for sharing. It seems that I have at least the
following 4 choices.
1. AMD CodeAnalyst
2. Valgrind
3. Intel vTune Performance Analyze
4. Visual Studio Profiler

I got a few more questions though and looking for help.

1) Is AMD CodeAnalyst able to be integrated into Visual Studio C++
Express Edition instead of Visual C++ 2008 Edition? Same question for
Valgrind.

2) From AMD's website, it doesn't say that this profiler can be used for
CPUs/Processors other than AMD's. Do you think that I can use this
profiler for x86-based processors and ARM processors?

3) My friend told me two other profilers, Visual Studio Profiler
(integrated in the team edition), and Intel vTune Performance Analyze.
Have you ever tried them and do you like them?

4 Which one is better in terms of both performance and learning curve,
of the above? I want to find a tools that is easy to learn and use, and
support both x-86 processors and ARM processor.

Thank you!

Johnson

Johnson

unread,
Nov 30, 2009, 2:55:44 PM11/30/09
to andre.s...@gmx.de

Johnson

unread,
Nov 30, 2009, 2:55:59 PM11/30/09
to andre.s...@gmx.de

Victor Bazarov

unread,
Nov 30, 2009, 3:16:43 PM11/30/09
to
Johnson wrote:
> Thank you all very much for sharing. It seems that I have at least the
> following 4 choices.
> 1. AMD CodeAnalyst
> 2. Valgrind
> 3. Intel vTune Performance Analyze
> 4. Visual Studio Profiler
>
> I got a few more questions though and looking for help.
>
> 1) Is AMD CodeAnalyst able to be integrated into Visual Studio C++
> Express Edition instead of Visual C++ 2008 Edition? Same question for
> Valgrind.

Ask in a Visual Studio newsgroup. I don't think there is Valgrind for
Windows.

> 2) From AMD's website, it doesn't say that this profiler can be used for
> CPUs/Processors other than AMD's. Do you think that I can use this
> profiler for x86-based processors and ARM processors?

I think AMD tech support knows the answer.

> 3) My friend told me two other profilers, Visual Studio Profiler
> (integrated in the team edition), and Intel vTune Performance Analyze.
> Have you ever tried them and do you like them?

Yes. And, sort of. VTune is a fine tool, and it takes some time to get
proficient with it (as I recall, it may have changed). The built-in
profiler is, well, not as capable. Usable, still.

> 4 Which one is better in terms of both performance and learning curve,
> of the above?

The built-in one is the easiest, I think.

> I want to find a tools that is easy to learn and use, and
> support both x-86 processors and ARM processor.

Try AutomatedQA's AQtime. (www.automatedqa.com)

There are two more I've looked at, LTProf and GlowCode. The former is
light and inexpensive. The latter got me through some code that VTune
choked on. I since switched to AQtime and never looked back.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Johnson

unread,
Jan 21, 2010, 4:24:45 PM1/21/10
to
Have anyone tried the free performance analysis tools for Windows Vista
SP1 and Windows7?

http://mintywhite.com/more/news/vista-sp1-performance-analysis-tools-%E2%80%93-free-download/
http://news.softpedia.com/news/Windows-7-RTM-Performance-Analysis-Tools-130709.shtml

Can they be used to generate a timing profile (or CPU usage) for each
function and subfunctions? Any good words or bad words?

Thank you!

Johnson

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

0 new messages