Skip to content

Commit

Permalink
Per #2147, fix stat_analysis so that when parsing CTC and MCTC line t…
Browse files Browse the repository at this point in the history
…ypes, let the -hss_ec_value job command option reset the contents of EC_VALUE. That way, it can be reset in CTC->CTS or MCTC->MCTS aggregate_stat jobs.
  • Loading branch information
JohnHalleyGotway committed May 26, 2022
1 parent 458686f commit 3cc6e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/core/stat_analysis/aggr_stat_line.cc
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ void aggr_ctc_lines(LineDataFile &f, STATAnalysisJob &job,
aggr.far_ts.clear();
aggr.csi_ts.clear();
aggr.hk_ts.clear();
cur.cts.set_ec_value(job.hss_ec_value);
aggr.cts_info = cur;
aggr.hdr.clear();
m[key] = aggr;
Expand Down Expand Up @@ -1139,6 +1140,7 @@ void aggr_mctc_lines(LineDataFile &f, STATAnalysisJob &job,
if(m.count(key) == 0) {
aggr.valid_ts.clear();
aggr.acc_ts.clear();
cur.cts.set_ec_value(job.hss_ec_value);
aggr.mcts_info = cur;
aggr.hdr.clear();
m[key] = aggr;
Expand Down

0 comments on commit 3cc6e86

Please sign in to comment.