mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-09 09:18:06 +01:00
Average over whole cluster the comm time.
This commit is contained in:
1 parent
e7c36771ed
commit
8c8473998d
1 file changed
+1
@@ -388,6 +388,7 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal
|
||||
RealD NP = _grid->_Nprocessors;
|
||||
RealD NN = _grid->NodeCount();
|
||||
|
||||
_grid->GlobalSum(commtime); commtime/=NP;
|
||||
if ( calls > 0. ) {
|
||||
std::cout << GridLogMessage << " Stencil calls "<<calls<<std::endl;
|
||||
PRINTIT(halogtime);
|
||||
|
||||
Reference in new issue
Block a user