Track and report execution time for parts of code