log duration of run