search for: sort_prof

Displaying 2 results from an estimated 2 matches for "sort_prof".

2013 Jan 30
2
[LLVMdev] Edge Profiling
Hello. I'm using these commands to compile the code below in order to collect edge/blocks profiling: clang -emit-llvm -c sort.c -o sort.bc opt -insert-edge-profiling sort.bc -o sort_prof.bc clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof then I run the program and display the profiling information using llvm-prof sort_prof.bc, and the result is: ===-------------------------------------------------------------------------=== Function execution frequencies: ## Frequen...
2013 Jan 31
0
[LLVMdev] Edge Profiling
Hello, See answers below On 31/01/13 00:23, César wrote: > Hello. > > I'm using these commands to compile the code below in order to collect > edge/blocks profiling: > > clang -emit-llvm -c sort.c -o sort.bc > opt -insert-edge-profiling sort.bc -o sort_prof.bc > clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof > > then I run the program and display the profiling information using You can also skip the compilation step and run directly through the interpreter lli -load /llvms/lib/libprofile_rt.so sort_prof.bc > llvm-prof sort_p...