A class that can load a job submission trace (a.k.a. supercomputer workload) in the SWF format (see http://www.cs.huji.ac.il/labs/parallel/workload/swf.html) and store it as a vector of simulation-relevant fields. More...
#include <TraceFileLoader.h>
Static Public Member Functions | |
static std::vector< std::tuple< std::string, double, double, double, double, unsigned int, std::string > > | loadFromTraceFile (std::string filename, bool ignore_invalid_jobs, double desired_submit_time_of_first_job) |
Load the workflow trace file. More... | |
Detailed Description
A class that can load a job submission trace (a.k.a. supercomputer workload) in the SWF format (see http://www.cs.huji.ac.il/labs/parallel/workload/swf.html) and store it as a vector of simulation-relevant fields.
Member Function Documentation
◆ loadFromTraceFile()
|
static |
Load the workflow trace file.
- Parameters
-
filename the path to the trace file in SWF format or in JSON format ignore_invalid_jobs whether to ignore invalid job specifications desired_submit_time_of_first_job the desired submit of of the first job (-1 means "use whatever time is in the trace file")
- Returns
- a vector of tuples, where each tuple is a job description with the following fields:
- job id
- submission time
- actual time
- requested time,
- requested ram
- requested number of nodes
- username
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- TraceFileLoader.h
- TraceFileLoader.cpp