Commit f3f9b803 authored by Dmitriy Morozov's avatar Dmitriy Morozov

Don't print stats in Master::iexchange_() + add these stats to e/s/iexchange-particles.cpp

parent d8a46003
......@@ -130,4 +130,6 @@ int main(int argc, char* argv[])
// one may also reduce the number of small messages as follows
// master.iexchange(&bounce, 16, 1000); // hold messages smaller than 16 bytes for up to 1000 milliseconds
master.prof.totals().output(std::cerr);
}
......@@ -735,14 +735,6 @@ iexchange_(const ICallback<Block>& f,
//comm_.barrier(); // TODO: this is only necessary for DUD
prof >> "consensus-time";
// debug
if (iexchange.comm.rank() == 0)
{
prof.totals().output(std::cerr);
//fmt::print(stderr, "consensus_time = {}\n",
// Duration(IExchangeInfo::Clock::now() - iexchange.consensus_start_time()).count());
}
outgoing_.clear();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment