Add a hack for getting the rate of processed packets.