Add a function in inspector to retrieve total execution time.