diff_clock takes a duration