Calculates start and stop time as well as difference when ran in a loop, see driver