replace MPI_Wtime() with platform::walltime()

This commit is contained in:
Axel Kohlmeyer
2021-10-05 22:53:39 -04:00
parent f17aeebbcd
commit 8b36061db4
77 changed files with 175 additions and 189 deletions

View File

@ -79,7 +79,7 @@ void Replicate::command(int narg, char **arg)
// record wall time for atom replication
MPI_Barrier(world);
double time1 = MPI_Wtime();
double time1 = platform::walltime();
// maxtag = largest atom tag across all existing atoms
@ -799,5 +799,5 @@ void Replicate::command(int narg, char **arg)
MPI_Barrier(world);
if (me == 0)
utils::logmesg(lmp," replicate CPU = {:.3f} seconds\n",MPI_Wtime()-time1);
utils::logmesg(lmp," replicate CPU = {:.3f} seconds\n",platform::walltime()-time1);
}