Adaptive Tools for Performance Analysis of Large-Scale Applications