 
         auto after = std::chrono::high_resolution_clock::now();
         times->push_back(Time(totalCmds, numBlocks, after - before));
+
+        flush(queue, settings.nvmNamespace);
     }
 }
 


    avgBw /= times.size();

    fprintf(stderr, "Queue #%02u cmds=%zu blocks=%zu repeat=%zu ",
            queue->no, queue->transfers.size(), blocks, times.size());
    fprintf(stderr, "min=%.3f avg=%.3f max=%.3f\n", minBw, avgBw, maxBw);


        }

        flush(queue, settings.nvmNamespace);

    }
}

