mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
tare before startup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@879 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
985169b168
commit
76d6c7954f
@ -43,6 +43,12 @@ pair<int,int> mpi_bootstrap_new(int& argc, char**& argv)
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &mpi_world);
|
||||
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
|
||||
|
||||
// first, synchronize clocks.
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
dout(-10) << "tare" << endl;
|
||||
g_clock.tare();
|
||||
|
||||
// ok, now start up.
|
||||
tcpaddr_t nsaddr;
|
||||
memset(&nsaddr, 0, sizeof(nsaddr));
|
||||
|
||||
@ -65,9 +71,6 @@ pair<int,int> mpi_bootstrap_new(int& argc, char**& argv)
|
||||
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
|
||||
dout(-10) << "tare" << endl;
|
||||
g_clock.tare();
|
||||
|
||||
MPI_Finalize();
|
||||
|
||||
return pair<int,int>(mpi_rank, mpi_world);
|
||||
|
Loading…
Reference in New Issue
Block a user