diff --git a/tools/workload_replay/simulate_replay.cc b/tools/workload_replay/simulate_replay.cc index 51ab3ff1ef..59de2c9f44 100644 --- a/tools/workload_replay/simulate_replay.cc +++ b/tools/workload_replay/simulate_replay.cc @@ -51,7 +51,9 @@ int main(int argc, char** argv) { vtAbortIf( argc != 3, - "Must have two arguments: " + "Must have two app-specific arguments: \n" + "The json workload files needs to be specified using\n" + "--vt_lb_stats_file_in and --vt_lb_stats_dir_in" ); // initial phase to simulate @@ -59,6 +61,8 @@ int main(int argc, char** argv) { // number of phases to simulate PhaseType phases_to_run = atoi(argv[2]); + // the workloads used will be those specified with the command-line arguments + // --vt_lb_stats_file_in and --vt_lb_stats_dir_in vt::vrt::collection::balance::replayWorkloads( initial_phase, phases_to_run );