Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: Profiller f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 8 Topic 4582 of 4728
Post > Topic >>

Re: Profiller for Linux

by gpderetta <spamtrap@[EMAIL PROTECTED] > Mar 21, 2008 at 12:30 PM

On Mar 20, 10:08 am, Noob <r...@[EMAIL PROTECTED]
> wrote:
> LinuxAsm wrote:
> > Does anyone know of a good code profiler for Linux?
>
> I recommend oprofile over gprof.
>
> http://oprofile.sourceforge.net/about/

Valgrind is extremely good for doing both source level
and assembler level profiling (you get execution count
for every single instruction!).

It also does cache (both data and instruction) and memory
allocation profiling.

Kcachegrind is the perfect companion for examining and
navigating valgrind output.

The downside of valgrind is that your program will run very
slowly (even 30x) when profiling. But I have found it incomparably
more useful than gprof. I have no experience with oprofile.

One may also want to look at google's
tcmalloc library for memory allocation profiling.

HTH,

--
gpd
 




 8 Posts in Topic:
Profiller for Linux
LinuxAsm <spamtrap@[E  2008-03-19 07:57:47 
Re: Profiller for Linux
Robert Redelmeier <red  2008-03-19 20:35:36 
Re: Profiller for Linux
Phil Carmody <thefatph  2008-03-19 22:05:43 
Re: Profiller for Linux
Juergen Beisert <spam  2008-03-20 19:42:08 
Re: Profiller for Linux
Noob <root@[EMAIL PROT  2008-03-20 10:08:06 
Re: Profiller for Linux
gpderetta <spamtrap@[  2008-03-21 12:30:49 
Re: Profiller for Linux
Noob <root@[EMAIL PROT  2008-03-24 12:34:13 
Re: Profiller for Linux
gpderetta <spamtrap@[  2008-03-24 16:24:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 0:34:40 CDT 2008.