aboutsummaryrefslogtreecommitdiff
path: root/node/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/node.cpp')
-rw-r--r--node/node.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/node/node.cpp b/node/node.cpp
index cb25431..dd6061a 100644
--- a/node/node.cpp
+++ b/node/node.cpp
@@ -1,4 +1,4 @@
- #include "node.hpp"
+#include "node.hpp"
#include "cmix.h"
@@ -143,10 +143,6 @@ void Node::handle_message(Purgatory::iterator handle, cmix_proto::CMixMessage me
}
void Node::start_precomputation() {
- if(performance) {
- performance->send("pre_pre_start");
- }
-
BOOST_LOG_TRIVIAL(trace) << "Starting precomputation for " << messages.size() << " clients.";
participants.clear();
@@ -154,6 +150,10 @@ void Node::start_precomputation() {
start_timer_delayed_mix();
return;
}
+
+ if(performance) {
+ performance->send("pre_pre_start");
+ }
if(start_mix(&cmix_ctx, messages.size()) != no_error) {
exit(-1);
@@ -217,11 +217,11 @@ void Node::start_precomputation() {
}
void Node::start_realtime_phase() {
-
+
if(performance) {
performance->send("real_pre_start");
}
-
+
ArenaMessage<cmix_proto::RealPre> arena;
cmix_proto::RealPre& realpre = arena.get();