From 39fcb5970d554359cfda6d4b94d31181bfe3c70f Mon Sep 17 00:00:00 2001 From: efajardo Date: Tue, 20 Apr 2021 15:38:04 -0700 Subject: [PATCH] Adding number of tasks to the CSV output --- src/ior-output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ior-output.c b/src/ior-output.c index d1c842e..1b21a00 100644 --- a/src/ior-output.c +++ b/src/ior-output.c @@ -21,7 +21,7 @@ void PrintTableHeader(){ fprintf(out_resultfile, "access bw(MiB/s) IOPS Latency(s) block(KiB) xfer(KiB) open(s) wr/rd(s) close(s) total(s) iter\n"); fprintf(out_resultfile, "------ --------- ---- ---------- ---------- --------- -------- -------- -------- -------- ----\n"); }else if(outputFormat == OUTPUT_CSV){ - fprintf(out_resultfile, "access,bw(MiB/s),IOPS,Latency,block(KiB),xfer(KiB),open(s),wr/rd(s),close(s),total(s),iter\n"); + fprintf(out_resultfile, "access,bw(MiB/s),IOPS,Latency,block(KiB),xfer(KiB),open(s),wr/rd(s),close(s),total(s),numTasks,iter\n"); } } @@ -260,6 +260,7 @@ void PrintReducedResult(IOR_test_t *test, int access, double bw, double iops, do PrintKeyValDouble("wrRdTime", diff_subset[1]); PrintKeyValDouble("closeTime", diff_subset[2]); PrintKeyValDouble("totalTime", totalTime); + PrintKeyValInt("Numtasks", test->params.numTasks); fprintf(out_resultfile, "%d\n", rep); }