[LLVMdev] A simulation tool

OvermindDL1 overminddl1 at gmail.com
Tue Sep 1 19:32:30 PDT 2009

Helps if I send it to the list....

On Tue, Sep 1, 2009 at 5:33 PM, Giridhar S<thisisgiri at gmail.com> wrote:
> Oprofile for Linux is a pretty good alternative.
> (http://oprofile.sourceforge.net/about/)
> It uses hardware performance counters to collect profiling information
> and therefore has very low overhead, whereas Valgrind performs dynamic
> binary instrumentation and can be significantly slow (20-50x slower).
> In addition, Cachegrind 'simulates' cache behavior through it's own
> cache model, whereas Oprofile (or other counter based profilers)
> report real cache events.
> Depending on what your needs are (ease of use, runtime overhead, etc)
> you could pick either.

I am curious, how do you think AMD CodeAnalyst works in regards to
performance counting?  It seems to be quite fast to me, only causing a
slow-down of between 2x to 6x depending on the program.

More information about the llvm-dev mailing list