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 
28  class TraceFileLoader {
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
Definition: Action.cpp:28