WRENCH  1.10
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 
16 /***********************/
18 /***********************/
19 
20 namespace wrench {
21 
22  class BatchComputeService;
23 
28  class WorkloadTraceFileReplayer : public WMS {
29 
30  public:
31 
32  WorkloadTraceFileReplayer(std::string hostname,
33  std::shared_ptr<BatchComputeService> batch_service,
34  unsigned long num_cores_per_node,
35  bool use_actual_runtimes_as_requested_runtimes,
36  std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>> &workload_trace
37  );
38 
39  private:
40  std::shared_ptr<Workflow> workflow;
41 
42  std::vector<std::tuple<std::string, double, double, double, double, unsigned int, std::string>> &workload_trace;
43  std::shared_ptr<BatchComputeService> batch_service;
44  unsigned long num_cores_per_node;
45  bool use_actual_runtimes_as_requested_runtimes;
46 
47  int main() override;
48  };
49 
50 };
51 
52 /***********************/
54 /***********************/
55 
56 
57 
58 #endif //WRENCH_WORKLOADTRACEFILEREPLAYER_H
wrench
Definition: Alarm.cpp:20