Skip to content

Commit

Permalink
Per #2888, update STATAnalysisJob::dump_stat_line() to support dumpin…
Browse files Browse the repository at this point in the history
…g stat line types VCNT, RPS, DMAP, and SSIDX.
  • Loading branch information
JohnHalleyGotway committed May 15, 2024
1 parent 79ac568 commit d33261e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/libcode/vx_analysis_util/stat_job.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,7 @@ void STATAnalysisJob::dump_stat_line(const STATLine &line,
if(line_type.n() == 1) {

switch(string_to_statlinetype(line_type[0].c_str())) {

case STATLineType::fho:
write_header_row(fho_columns, n_fho_columns, 1, dump_at, 0, 0);
break;
Expand All @@ -2200,6 +2201,10 @@ void STATAnalysisJob::dump_stat_line(const STATLine &line,
write_header_row(sal1l2_columns, n_sal1l2_columns, 1, dump_at, 0, 0);
break;

case STATLineType::vcnt:
write_header_row(vcnt_columns, n_vcnt_columns, 1, dump_at, 0, 0);
break;

case STATLineType::vl1l2:
write_header_row(vl1l2_columns, n_vl1l2_columns, 1, dump_at, 0, 0);
break;
Expand Down Expand Up @@ -2232,6 +2237,10 @@ void STATAnalysisJob::dump_stat_line(const STATLine &line,
write_header_row(ecnt_columns, n_ecnt_columns, 1, dump_at, 0, 0);
break;

case STATLineType::rps:
write_header_row(rps_columns, n_rps_columns, 1, dump_at, 0, 0);
break;

case STATLineType::isc:
write_header_row(isc_columns, n_isc_columns, 1, dump_at, 0, 0);
break;
Expand All @@ -2248,6 +2257,14 @@ void STATAnalysisJob::dump_stat_line(const STATLine &line,
write_header_row(seeps_mpr_columns, n_seeps_mpr_columns, 1, dump_at, 0, 0);
break;

case STATLineType::dmap:
write_header_row(dmap_columns, n_dmap_columns, 1, dump_at, 0, 0);
break;

case STATLineType::ssidx:
write_header_row(ssidx_columns, n_ssidx_columns, 1, dump_at, 0, 0);
break;

// Just write a STAT header line for indeterminant line types
case STATLineType::mctc:
case STATLineType::mcts:
Expand Down

0 comments on commit d33261e

Please sign in to comment.