mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Synch clocks
This commit is contained in:
parent
f7217d12d2
commit
f73db8f1f3
@ -356,6 +356,11 @@ void Grid_init(int *argc,char ***argv)
|
|||||||
//////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////
|
||||||
CartesianCommunicator::Init(argc,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)
|
// Banner after MPI (unless GPU)
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user