Execution time calculation.