Add calculation for io/comp duration