Adding resource measurements for each new task