queue::resume and queue::async returns itself instead of void, so they can be chained
add delta_dumpn(N, label) to rusage::sample for printing average resource usage information (sum divided by N)