[LLVMdev] how to get profile information for 50000 runs

swatirathi at cse.iitb.ac.in swatirathi at cse.iitb.ac.in
Sat May 7 01:48:42 PDT 2011


Hello,

Can you please tell me how to get profile information.

We have tried ::

1. lli -fake-argv0 'bubble.bc' -load
${LLVM_BASE_DIR}/Debug/lib/profile_rt.so bubble.bc.inst 50000
llvm-prof bubble.bc.inst > profile.txt

2. perl /mnt/softs/llvm/utils/profile.pl -block -edge -function bubble.bc
50000

Both the commands generates frequency count only for 1 run and not for 50000.
Please help..

Regards,
Swati




More information about the llvm-dev mailing list