TraceFileLoader.h
1 
10 #ifndef WRENCH_TRACEFILELOADER_H
11 #define WRENCH_TRACEFILELOADER_H
12 
13 #include <string>
14 #include <wrench/workflow/WorkflowTask.h>
15 
16 namespace wrench {
17 
18  /***********************/
20  /***********************/
21 
22 
29  public:
30  static std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>>
31  loadFromTraceFile(std::string filename, bool ignore_invalid_jobs, double desired_submit_time_of_first_job);
32  private:
33  static std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>>
34  loadFromTraceFileSWF(std::string filename, bool ignore_invalid_jobs, double desired_submit_time_of_first_job);
35  static std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>>
36  loadFromTraceFileJSON(std::string filename, bool ignore_invalid_jobs, double desired_submit_time_of_first_job);
37  };
38 
39  /***********************/
41  /***********************/
42 
43 }
44 
45 
46 #endif //WRENCH_TRACEFILELOADER_H
A class that can load a job submission trace (a.k.a. supercomputer workload) in the SWF format (see h...
Definition: TraceFileLoader.h:28
Definition: Alarm.cpp:20
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.
Definition: TraceFileLoader.cpp:64