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 
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
Definition: Alarm.cpp:20
WorkloadTraceFileReplayer(std::string hostname, std::shared_ptr< BatchComputeService > batch_service, unsigned long num_cores_per_node, bool use_actual_runtimes_as_requested_runtimes, std::vector< std::tuple< std::string, double, double, double, double, unsigned int, std::string >> &workload_trace)
Constructor.
Definition: WorkloadTraceFileReplayer.cpp:29
A service that goes through a job submission trace (as loaded by a TraceFileLoader),...
Definition: WorkloadTraceFileReplayer.h:28
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:51
A workflow management system (WMS)
Definition: WMS.h:43