fpmas-metamodel 1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SyncProbeTask Class Reference

#include <probe.h>

Inheritance diagram for SyncProbeTask:
Inheritance graph
[legend]
Collaboration diagram for SyncProbeTask:
Collaboration graph
[legend]

Public Member Functions

 SyncProbeTask (fpmas::api::utils::perf::Probe &sync_probe, fpmas::api::model::AgentGraph &graph)
 
void run () override
 

Detailed Description

fpmas::scheduler::Task that can be used to replace an AgentGroup::agentExecutionJob() end task to probe the graph synchronization process.

Constructor & Destructor Documentation

◆ SyncProbeTask()

SyncProbeTask::SyncProbeTask ( fpmas::api::utils::perf::Probe &  sync_probe,
fpmas::api::model::AgentGraph &  graph 
)

SyncProbeTask constructor.

Parameters
sync_probeProbe used to measure the synchronization time
graphDistributed graph to synchronize

Member Function Documentation

◆ run()

void SyncProbeTask::run ( )
override

Calls the DistribtedGraph::synchronize() method and probes its execution time.


The documentation for this class was generated from the following file: