LoopProf : Dynamic Techniques for Loop Detection and Profiling
Pin: building customized program analysis tools with dynamic instrumentation