1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Synch clocks

This commit is contained in:
Peter Boyle 2022-07-11 13:47:39 -04:00
parent f7217d12d2
commit f73db8f1f3

View File

@ -356,6 +356,11 @@ void Grid_init(int *argc,char ***argv)
//////////////////////////////////////////////////////////
CartesianCommunicator::Init(argc,argv);
GridLogger::GlobalStopWatch.Stop();
CartesianCommunicator::BarrierWorld();
GridLogger::GlobalStopWatch.Reset();// Back to zero with synchronised clock
GridLogger::GlobalStopWatch.Start();
////////////////////////////////////
// Banner after MPI (unless GPU)
////////////////////////////////////