17 tStart[t] = MPI_Wtime();
22 tStart[t +
Ntype] = MPI_Wtime();
27 this->timer[t] += MPI_Wtime() - tStart[t];
32 this->timer[t +
Ntype] += MPI_Wtime() - tStart[t];
42 return timer[t +
Ntype];
49 return timeTotal / mpi.size;
56 return timeTotal / mpi.size;
Wall-clock performance timer and running scalar statistics utilities.
MPI_int Allreduce(const void *sendbuf, void *recvbuf, MPI_int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
Wrapper over MPI_Allreduce.
the host side operators are provided as implemented
double real
Canonical floating-point scalar used throughout DNDSR (double precision).
const MPI_Datatype DNDS_MPI_REAL
MPI datatype matching real (= MPI_REAL8).
Lightweight bundle of an MPI communicator and the calling rank's coordinates.