Implemented the functionality to get the execution times