fixing throughput calculation scheduling function issue.