Actual calculation of time per tick (for callbacks)