search for: vandersonmr2

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

2014 Sep 17
3
[LLVMdev] Measure execution time of each basic block
Jon, I need to create a database of basics blocks and their execution time. The only thing I'm concerned is if a block A is more expensive than a block B. Do you think that even with the overhead I would be able to get the A > B information? Like: overhead + time(A) > overhead + time(B) => A > B. If so, I'm not too much concerned about the accuracy. Not sure if I was clear,
2014 Sep 17
3
[LLVMdev] Measure execution time of each basic block
Guys, Someone have any idea how could I measure the execution time of each LLVM basic block of a program? I tried to use some profiling tools like gcov and perf, but as far as I know they can only give me the frequency that each basic block is executed. I was thinking about writing a pass to add PAPI instructions in each LLVM basic block. Do you think is a good idea? Thanks Vanderson M.