[LLVMdev] Profiling llc

Owen Anderson resistor at mac.com
Mon Sep 24 21:13:35 PDT 2007


If you have access to a system running OS X, shark is a very good  
profiling tool.  You'd use it like this:

shark -i -1 llc -normal-options-here

This'll produce a .mshark file that you can open with Shark.app to  
view all of your profiling goodness!

--Owen

On Sep 24, 2007, at 11:06 PM, Fernando Magno Quintao Pereira wrote:

>
> Hey guys, I am trying to speed up some of my LLVM/llc passes. Is  
> there a
> way to use something like gprof on llc? If not, do you guys know  
> anything
> that I can use to discover which routines of my passes are taking  
> most of
> the time?
>
> thanks,
>
> Fernando
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070924/fe58010e/attachment.bin>


More information about the llvm-dev mailing list