diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-09-27 14:05:53 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-09-27 14:05:53 +0200 |
commit | 29f2abadf3bec93228cc6f535fa5db027ed77917 (patch) | |
tree | 00c99e7b77343a6636698a42d189d68686eef510 | |
parent | 2a0f584c77efe466f0e6e7a7d056bffbc297e032 (diff) |
Fix -t4 in non-pthread mode
-rw-r--r-- | mbw.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -515,9 +515,11 @@ double worker() #endif // HAVE_AVX512 } else if(test_type==TEST_READ_DUMB) { long tmp = 0; + clock_gettime(CLOCK_MONOTONIC, &starttime); for(t=0; t<arr_size; t++) { tmp ^= arr_a[t]; } + clock_gettime(CLOCK_MONOTONIC, &endtime); arr_b[arr_size-1] = tmp; } #endif // MULTITHREADED |