WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
WorkloadTraceFileReplayer.h
1 
11 #ifndef WRENCH_WORKLOADTRACEFILEREPLAYER_H
12 #define WRENCH_WORKLOADTRACEFILEREPLAYER_H
13 
14 #include "wrench/services/Service.h"
15 #include "wrench/execution_controller/ExecutionController.h"
16 
17 /***********************/
19 /***********************/
20 
21 namespace wrench {
22 
23  class BatchComputeService;
24 
29  class WorkloadTraceFileReplayer : public ExecutionController {
30 
31  public:
32 
33  WorkloadTraceFileReplayer(std::string hostname,
34  std::shared_ptr<BatchComputeService> batch_service,
35  unsigned long num_cores_per_node,
36  bool use_actual_runtimes_as_requested_runtimes,
37  std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>> &workload_trace
38  );
39 
40  private:
41 // std::shared_ptr<Workflow> workflow;
42 
43  std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>> &workload_trace;
44  std::shared_ptr<BatchComputeService> batch_service;
45  unsigned long num_cores_per_node;
46  bool use_actual_runtimes_as_requested_runtimes;
47 
48  int main() override;
49  };
50 
51 };
52 
53 /***********************/
55 /***********************/
56 
57 
58 
59 #endif //WRENCH_WORKLOADTRACEFILEREPLAYER_H
wrench
Definition: Action.cpp:28