BatchJob.h
19 BatchJob(WorkflowJob* job, unsigned long jobid, unsigned long time_in_minutes, unsigned long number_nodes,
void setEndingTimeStamp(double time_stamp)
Set the batch job's end timestamp.
Definition: BatchJob.cpp:157
void setAllocatedResources(std::map< std::string, std::tuple< unsigned long, double >> resources)
Set the resources allocated to this batch job.
Definition: BatchJob.cpp:178
std::string csv_metadata
The meta-data field for BatSim-style CSV output.
Definition: BatchJob.h:52
unsigned long getAllocatedTime()
Get the allocated time.
Definition: BatchJob.cpp:65
unsigned long getAllocatedCoresPerNode()
Get the number of cores per node.
Definition: BatchJob.cpp:57
double getEndingTimeStamp()
Get the batch job's end timestamp.
Definition: BatchJob.cpp:149
double getBeginTimeStamp()
Get the batch job's begin timestamp.
Definition: BatchJob.cpp:141
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
unsigned long getNumNodes()
Get the number of allocated compute nodes (or hosts)
Definition: BatchJob.cpp:123
std::map< std::string, std::tuple< unsigned long, double > > getResourcesAllocated()
Get the resources allocated to this batch job.
Definition: BatchJob.cpp:170
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:99
unsigned long getJobID()
Get the id of this batch job.
Definition: BatchJob.cpp:115
A batch job, which encapsulates a WorkflowJob and additional information used by a BatchService...
Definition: BatchJob.h:16
void setBeginTimeStamp(double time_stamp)
Set the batch job's begin timestamp.
Definition: BatchJob.cpp:132
WorkflowJob * getWorkflowJob()
Get the workflow job corresponding to this batch job.
Definition: BatchJob.cpp:107
std::string csv_allocated_processors
The allocated processors field for BatSim-style CSV output.
Definition: BatchJob.h:54
double getMemoryRequirement()
Get the memory requirement.
Definition: BatchJob.cpp:81
Definition: Alarm.cpp:19
void setAllocatedTime(unsigned long time)
Set the allocated time.
Definition: BatchJob.cpp:73