WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
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
wrench::TraceFileLoader
A class that can load a job submission trace (a.k.a. supercomputer workload) in the SWF format (see h...
Definition: TraceFileLoader.h:28
wrench
Definition: Action.cpp:28
wrench::TraceFileLoader::loadFromTraceFile
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