Added function queueSummary for the infinite queue.