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:
32  std::shared_ptr<BatchComputeService> batch_service,
33  unsigned long num_cores_per_node,
34  bool use_actual_runtimes_as_requested_runtimes,
35  std::vector<std::tuple<std::string, double, double, double, double, unsigned int>> &workload_trace
36  );
37 
38  private:
39  std::vector<std::tuple<std::string, double, double, double, double, unsigned int>> &workload_trace;
40  std::shared_ptr<BatchComputeService> batch_service;
41  unsigned long num_cores_per_node;
42  bool use_actual_runtimes_as_requested_runtimes;
43 
44  int main() override;
45  };
46 
47 };
48 
49 /***********************/
51 /***********************/
52 
53 
54 
55 #endif //WRENCH_WORKLOADTRACEFILEREPLAYER_H
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 >> &workload_trace)
Constructor.
Definition: WorkloadTraceFileReplayer.cpp:29
Definition: Alarm.cpp:20
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:42