summaryrefslogtreecommitdiff
path: root/mbw.c
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:56:47 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:56:47 +0200
commitf2c4d650750f7817ab5a6e570840bb9ee3434ee8 (patch)
tree21b49b0ec5b24162c07e8aff08ed3b4582932acb /mbw.c
parent9bb207427359e0a4004f6300d39ee523c3bd6637 (diff)
adjust for new dfatool output format
Diffstat (limited to 'mbw.c')
-rw-r--r--mbw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbw.c b/mbw.c
index 93ec55c..7f54998 100644
--- a/mbw.c
+++ b/mbw.c
@@ -251,7 +251,7 @@ void printout(double te, double mt)
printf("e_method=MCBLOCK ");
break;
}
- printf("| bandwidth_MiBps=%f\n", mt/te);
+ printf("| data_MiB=%f time_s=%f throughput_dram_dram_MiBps=%f\n", mt, te, mt/te);
return;
}
@@ -395,11 +395,11 @@ int main(int argc, char **argv)
for (i=0; nr_loops==0 || i<nr_loops; i++) {
te=worker();
te_sum+=te;
- printf("[::] block_size_B=%llu array_size_B=%llu ", block_size, arr_size*long_size);
+ printf("[::] CPU transfer | block_size_B=%llu array_size_B=%llu ", block_size, arr_size*long_size);
#ifdef MULTITHREADED
printf("n_threads=%ld ", num_threads);
#else
- printf("n_threads=1 ", block_size, arr_size*long_size);
+ printf("n_threads=1 ");
#endif
printout(te, mt);
}