Skip to content
Snippets Groups Projects
Verified Commit 0faf59c6 authored by baptiste.coudray's avatar baptiste.coudray
Browse files

Moved timer

parent 5c7498b8
Branches dev
No related tags found
No related merge requests found
......@@ -117,13 +117,13 @@ int main(int argc, char *argv[]) {
init_chunk_board(&ci);
for (int i = 0; i < N_MEASURES; ++i) {
double start = MPI_Wtime();
for (int j = 0; j < N_ITERATIONS; ++j) {
double start = MPI_Wtime();
compute_next_chunk_board(disp_context, fut_context, &ci);
double finish = MPI_Wtime();
if (my_rank == ROOT_RANK) {
printf("%d;%d;%d;%d;%f\n", world_size, nb_devices, board_n, board_m, finish - start);
}
}
double finish = MPI_Wtime();
if (my_rank == ROOT_RANK) {
printf("%d;%d;%d;%d;%f\n", world_size, nb_devices, board_n, board_m, finish - start);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment