Get rid of printfs, we are tracing anyway.
Helper function to get total queued bytes
Use queued bytes in delay_total and delay_flow; improves perf