11 #ifndef WRENCH_MULTINODEMULTICORESTANDARDJOBEXECUTORMESSAGE_H
12 #define WRENCH_MULTINODEMULTICORESTANDARDJOBEXECUTORMESSAGE_H
16 #include "wrench/services/compute/workunit_executor/WorkunitExecutor.h"
17 #include "wrench/services/compute/ComputeServiceMessage.h"
23 class StandardJobExecutor;
25 class WorkunitMultiCoreExecutor;
63 std::shared_ptr<FailureCause>
cause,
71 std::shared_ptr<FailureCause>
cause;
81 std::shared_ptr<StandardJob>
job,
82 std::shared_ptr<StandardJobExecutor>
executor,
88 std::shared_ptr<StandardJob>
job;
98 std::shared_ptr<StandardJob>
job,
99 std::shared_ptr<StandardJobExecutor>
executor,
100 std::shared_ptr<FailureCause>
cause,
106 std::shared_ptr<StandardJob>
job;
108 std::shared_ptr<FailureCause>
cause;
128 #endif //WRENCH_MULTINODEMULTICORESTANDARDJOBEXECUTORMESSAGE_H
std::shared_ptr< StandardJobExecutor > executor
The standard job executor that has ailed to complete the standard job.
Definition: StandardJobExecutorMessage.h:104
std::shared_ptr< FailureCause > cause
The cause of the failure.
Definition: StandardJobExecutorMessage.h:108
std::string name
The message name.
Definition: SimulationMessage.h:37
A message sent by a StandardJobExecutor to notify that its StandardJob has failed.
Definition: StandardJobExecutorMessage.h:95
std::shared_ptr< StandardJobExecutor > executor
The standard job executor that has completed the standard job.
Definition: StandardJobExecutorMessage.h:86
StandardJobExecutorMessage(std::string name, double payload)
Constructor.
Definition: StandardJobExecutorMessage.cpp:22
ComputeThreadDoneMessage()
Constructor.
Definition: StandardJobExecutorMessage.cpp:98
A message sent by a StandardJobExecutor to notify that it has completed a StandardJob.
Definition: StandardJobExecutorMessage.h:78
std::shared_ptr< WorkunitExecutor > workunit_executor
The work unit executor that has completed the work unit.
Definition: StandardJobExecutorMessage.h:50
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
WorkunitExecutorFailedMessage(std::shared_ptr< WorkunitExecutor > workunit_executor, std::shared_ptr< Workunit > workunit, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: StandardJobExecutorMessage.cpp:49
StandardJobExecutorFailedMessage(std::shared_ptr< StandardJob > job, std::shared_ptr< StandardJobExecutor > executor, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: StandardJobExecutorMessage.cpp:82
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
A message sent by a ComputeThread once it's done performing its computation.
Definition: StandardJobExecutorMessage.h:116
std::shared_ptr< Workunit > workunit
The work unit that has completed.
Definition: StandardJobExecutorMessage.h:52
StandardJobExecutorDoneMessage(std::shared_ptr< StandardJob > job, std::shared_ptr< StandardJobExecutor > executor, double payload)
Constructor.
Definition: StandardJobExecutorMessage.cpp:66
std::shared_ptr< FailureCause > cause
The cause of the failure.
Definition: StandardJobExecutorMessage.h:71
std::shared_ptr< Workunit > workunit
The work unit that has failed.
Definition: StandardJobExecutorMessage.h:69
A message sent by a WorkunitExecutor to notify that it has completed a WorkUnit.
Definition: StandardJobExecutorMessage.h:42
std::shared_ptr< StandardJob > job
The standard job that has failed.
Definition: StandardJobExecutorMessage.h:106
std::shared_ptr< WorkunitExecutor > workunit_executor
The worker unit executor that has failed to perform the work unit.
Definition: StandardJobExecutorMessage.h:67
Top-level class for messages received/sent by a StandardJobExecutor.
Definition: StandardJobExecutorMessage.h:34
std::shared_ptr< StandardJob > job
The standard job that has completed.
Definition: StandardJobExecutorMessage.h:88
A message sent by a WorkunitExecutor to notify that its WorkUnit as failed.
Definition: StandardJobExecutorMessage.h:58
WorkunitExecutorDoneMessage(std::shared_ptr< WorkunitExecutor > workunit_executor, std::shared_ptr< Workunit > workunit, double payload)
Constructor.
Definition: StandardJobExecutorMessage.cpp:33