int i;
int count, size;
int self, npes;
+ double secs;
MPI_Request request[MAXPES];
MPI_Status status;
}
for (size = 1; size <= MYBUFSIZE ; size += size) {
+ secs = -MPI_Wtime ();
for (count = 0; count < NUM_RUNS; count++) {
MPI_Barrier (MPI_COMM_WORLD);
}
MPI_Barrier (MPI_COMM_WORLD);
+ secs += MPI_Wtime ();
if (self == 0) {
+ secs = secs / (double) NUM_RUNS;
MTestPrintfMsg( 1, "length = %d ints\n", size );
}
}