isolate throughput functions
separate out packet, throughput and window