BatchJob.h
19 BatchJob(WorkflowJob* job, unsigned long jobid, unsigned long time_in_minutes, unsigned long number_nodes,
void setEndingTimeStamp(double)
Set the batch job's end timestamp.
Definition: BatchJob.cpp:154
unsigned long getAllocatedCoresPerNode()
Get the number of cores per node.
Definition: BatchJob.cpp:54
double getEndingTimeStamp()
Get the batch job's end timestamp.
Definition: BatchJob.cpp:146
void setBeginTimeStamp(double)
Set the batch job's begin timestamp.
Definition: BatchJob.cpp:129
double getBeginTimeStamp()
Get the batch job's begin timestamp.
Definition: BatchJob.cpp:138
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:31
unsigned long getNumNodes()
Get the number of allocated compute nodes (or hosts)
Definition: BatchJob.cpp:120
std::map< std::string, std::tuple< unsigned long, double > > getResourcesAllocated()
Get the resources allocated to this batch job.
Definition: BatchJob.cpp:167
BatchJob(WorkflowJob *job, unsigned long jobid, unsigned long time_in_minutes, unsigned long number_nodes, unsigned long cores_per_node, double ending_time_stamp, double arrival_time_stamp)
Constructor.
Definition: BatchJob.cpp:26
double getArrivalTimeStamp()
Get the arrival time stamp.
Definition: BatchJob.cpp:96
unsigned long getJobID()
Get the id of this batch job.
Definition: BatchJob.cpp:112
void setAllocatedTime(double)
Set the allocated time.
Definition: BatchJob.cpp:70
A batch job, which encapsulates a WorkflowJob and additional information used by a BatchService...
Definition: BatchJob.h:16
void setAllocatedResources(std::map< std::string, std::tuple< unsigned long, double >>)
Set the resources allocated to this batch job.
Definition: BatchJob.cpp:175
double getAllocatedTime()
Get the allocated time.
Definition: BatchJob.cpp:62
WorkflowJob * getWorkflowJob()
Get the workflow job corresponding to this batch job.
Definition: BatchJob.cpp:104
double getMemoryRequirement()
Get the memory requirement.
Definition: BatchJob.cpp:78
Definition: TerminalOutput.cpp:15