Calculate time by deltas instead of sleep intervals.