WorkunitExecutor.h
70 void runMulticoreComputation(double flops, double parallel_efficiency, bool simulate_computation_as_sleep);
83 // a reference to the job it is a part of (currently required for creating the /tmp directory in scratch space)
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
WorkunitExecutor(Simulation *simulation, std::string hostname, unsigned long num_cores, double ram_utilization, std::string callback_mailbox, Workunit *workunit, StorageService *scratch_space, StandardJob *job, double thread_startup_overhead, bool simulate_computation_as_sleep)
Constructor.
Definition: WorkunitExecutor.cpp:50
std::set< WorkflowFile * > getFilesStoredInScratch()
Retrieve the list of files stored in scratch space storage.
Definition: WorkunitExecutor.cpp:486
A class to describe a unit of work that's a sub-component of a StandardJob.
Definition: Workunit.h:34
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:47
unsigned long getNumCores()
Returns the number of cores the service has been allocated.
Definition: WorkunitExecutor.cpp:470
Workunit * workunit
The Workunit this WorkunitExecutor is supposed to perform.
Definition: WorkunitExecutor.h:62
A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: StandardJob.h:38
StandardJob * getJob()
Retrieve the job the WorkunitExecutor is working for.
Definition: WorkunitExecutor.cpp:494
double getMemoryUtilization()
Returns the RAM the service has been allocated.
Definition: WorkunitExecutor.cpp:478
Simulation * simulation
a pointer to the simulation object
Definition: S4U_Daemon.h:84
void kill()
Kill the worker thread.
Definition: WorkunitExecutor.cpp:86
Definition: TerminalOutput.cpp:15