ComputeThread.h
37 ComputeThread(Simulation *simulation, std::string hostname, double flops, std::string reply_mailbox);
ComputeThread(Simulation *simulation, std::string hostname, double flops, std::string reply_mailbox)
Constructor.
Definition: ComputeThread.cpp:29
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:47
int main() override
The main method of the compute thread.
Definition: ComputeThread.cpp:40
void kill()
Terminate (brutally) the compute thread.
Definition: ComputeThread.cpp:67
A one-shot service that simulates a CPU-bound thread that performs a given number of flops and then r...
Definition: ComputeThread.h:33
Simulation * simulation
a pointer to the simulation object
Definition: S4U_Daemon.h:84
Definition: TerminalOutput.cpp:15