The technique that measures processor execution across application functions to identify computationally expensive code…