Adding number of tasks to the CSV output
parent
0a4d58576d
commit
39fcb5970d
|
@ -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, "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");
|
fprintf(out_resultfile, "------ --------- ---- ---------- ---------- --------- -------- -------- -------- -------- ----\n");
|
||||||
}else if(outputFormat == OUTPUT_CSV){
|
}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("wrRdTime", diff_subset[1]);
|
||||||
PrintKeyValDouble("closeTime", diff_subset[2]);
|
PrintKeyValDouble("closeTime", diff_subset[2]);
|
||||||
PrintKeyValDouble("totalTime", totalTime);
|
PrintKeyValDouble("totalTime", totalTime);
|
||||||
|
PrintKeyValInt("Numtasks", test->params.numTasks);
|
||||||
fprintf(out_resultfile, "%d\n", rep);
|
fprintf(out_resultfile, "%d\n", rep);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue