Skip to content

Commit

Permalink
#1265: replay: clarify usage in tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Nov 9, 2023
1 parent cb7d762 commit 3839d30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/workload_replay/simulate_replay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,18 @@ int main(int argc, char** argv) {

vtAbortIf(
argc != 3,
"Must have two arguments: <initial phase> <phases to run>"
"Must have two app-specific arguments: <initial phase> <phases to run>\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
PhaseType initial_phase = atoi(argv[1]);
// 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
);
Expand Down

0 comments on commit 3839d30

Please sign in to comment.