Commit fab5f431 authored by artificiel's avatar artificiel
Browse files

Merger: ajout de timing

parent 4288b209
......@@ -2,6 +2,7 @@
#define CLOUDLIB_MERGER_HPP_
#include "ofxAssimpModelLoader.h"
#include "ofxTimeMeasurements.h"
#include "ofxCloudLib/ClientsManager.hpp"
#include "ofxCloudLib/ClusterTracker.hpp"
......@@ -96,12 +97,15 @@ class Merger
return total_mesh_;
}
bool update()
{
cloud_new_ = false;
TS_START("Merger::client_manager_.update()");
client_manager_.update();
TS_STOP("Merger::client_manager_.update()");
TS_START("Merger::client_manager_.receive_mesh()");
if (client_manager_.receive_mesh(total_mesh_)) cloud_new_ = true;
TS_STOP("Merger::client_manager_.receive_mesh()");
return cloud_new_;
}
......
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