Skip to content

Commit

Permalink
#431 Add new flag for input LB statistics file.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhetmaniuk authored and lifflander committed Feb 5, 2020
1 parent a4c954c commit f797578
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vt/configs/arguments/args.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ namespace vt { namespace arguments {
auto lb_stats = "Enable load balancing statistics";
auto lb_stats_dir = "Load balancing statistics output directory";
auto lb_stats_file = "Load balancing statistics output file name";
auto lb_stats_dir_in = "Load balancing statistics input directory";
auto lb_stats_file_in = "Load balancing statistics input file name";
auto lbn = "NoLB";
auto lbi = 1;
auto lbf = "";
Expand All @@ -384,6 +386,10 @@ namespace vt { namespace arguments {
auto ww = app.add_flag("--vt_lb_stats", vt_lb_stats, lb_stats);
auto wx = app.add_option("--vt_lb_stats_dir", vt_lb_stats_dir, lb_stats_dir, lbd);
auto wy = app.add_option("--vt_lb_stats_file", vt_lb_stats_file, lb_stats_file,lbs);

auto xx = app.add_option("--vt_lb_stats_dir_in", vt_lb_stats_dir_in, lb_stats_dir_in, lbd);
auto xy = app.add_option("--vt_lb_stats_file_in", vt_lb_stats_file_in, lb_stats_file_in,lbs);

auto debugLB = "Load Balancing";
s->group(debugLB);
t->group(debugLB);
Expand Down
2 changes: 2 additions & 0 deletions src/vt/configs/arguments/args.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ struct ArgConfig {
static bool vt_lb_stats;
static std::string vt_lb_stats_dir;
static std::string vt_lb_stats_file;
static std::string vt_lb_stats_dir_in;
static std::string vt_lb_stats_file_in;

static bool vt_no_detect_hang;
static bool vt_print_no_progress;
Expand Down

0 comments on commit f797578

Please sign in to comment.