extime function

Calculate the time that was spent on the whole experiment