diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-02 15:03:04 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-02 15:03:04 +0200 |
commit | 1d53dc100ce18877101bc0e06e37941df7fc67ae (patch) | |
tree | 67b631bb936491d45aa0f176aca662e496930333 | |
parent | 6fba6e14e5e6d844f300635c8c27f7ec243608ba (diff) |
add n_threads to parameter output
-rw-r--r-- | mbw.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |