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 
30 
31  public:
32 
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::ExecutionController
An abstraction of an execution controller, i.e., a running process that interacts with other services...
Definition: ExecutionController.h:37
wrench
Definition: Action.cpp:28
wrench::WorkloadTraceFileReplayer::WorkloadTraceFileReplayer
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
wrench::WorkloadTraceFileReplayer
A service that goes through a job submission trace (as loaded by a TraceFileLoader),...
Definition: WorkloadTraceFileReplayer.h:29
wrench::S4U_Daemon::hostname
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:60