trying to debug throughput calculation code.