fpmas-metamodel 1.0
|
#include <probe.h>
Public Member Functions | |
SyncProbeTask (fpmas::api::utils::perf::Probe &sync_probe, fpmas::api::model::AgentGraph &graph) | |
void | run () override |
fpmas::scheduler::Task that can be used to replace an AgentGroup::agentExecutionJob() end task to probe the graph synchronization process.
SyncProbeTask::SyncProbeTask | ( | fpmas::api::utils::perf::Probe & | sync_probe, |
fpmas::api::model::AgentGraph & | graph | ||
) |
SyncProbeTask constructor.
sync_probe | Probe used to measure the synchronization time |
graph | Distributed graph to synchronize |
|
override |
Calls the DistribtedGraph::synchronize() method and probes its execution time.