X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13f9ae4ca658a16c0b9d76fb918032f1c8b9841a..25cc8f2c515534fee077ff6ef9a71b55bfc2786f:/teshsuite/smpi/barrier.c diff --git a/teshsuite/smpi/barrier.c b/teshsuite/smpi/barrier.c index 568015ec72..7fb9a0c917 100644 --- a/teshsuite/smpi/barrier.c +++ b/teshsuite/smpi/barrier.c @@ -11,22 +11,20 @@ int main(int argc, char **argv) { int size, rank; - int root = 0; - int value; - double start_timer; + //double start_timer; MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &size); MPI_Comm_rank(MPI_COMM_WORLD, &rank); - start_timer = MPI_Wtime(); + //start_timer = MPI_Wtime(); MPI_Barrier(MPI_COMM_WORLD); MPI_Barrier(MPI_COMM_WORLD); if (0 == rank) { printf("... Barrier ....\n"); - printf("Elapsed=%lf s\n", MPI_Wtime() - start_timer); + //printf("Elapsed=%lf s\n", MPI_Wtime() - start_timer); } MPI_Finalize();