summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-02 15:03:04 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-02 15:03:04 +0200
commit1d53dc100ce18877101bc0e06e37941df7fc67ae (patch)
tree67b631bb936491d45aa0f176aca662e496930333
parent6fba6e14e5e6d844f300635c8c27f7ec243608ba (diff)
add n_threads to parameter output
-rw-r--r--mbw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbw.c b/mbw.c
index 5579d95..7c18883 100644
--- a/mbw.c
+++ b/mbw.c
@@ -396,6 +396,11 @@ int main(int argc, char **argv)
te=worker();
te_sum+=te;
printf("[::] 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);
+#endif
printout(te, mt);
}
if(showavg) {