Move time interval tracking from counter to device