Tracking duration for resources