Skip to content

Commit 833b433

Browse files
committed
Fixed missing resize on instantaneous arbitrary command histogram
1 parent 09257e5 commit 833b433

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

run_stats.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ void run_stats::setup_arbitrary_commands(size_t n_arbitrary_commands) {
128128
m_totals.setup_arbitrary_commands(n_arbitrary_commands);
129129
m_cur_stats.setup_arbitrary_commands(n_arbitrary_commands);
130130
m_ar_commands_latency_histograms.resize(n_arbitrary_commands);
131+
inst_m_ar_commands_latency_histograms.resize(n_arbitrary_commands);
131132
}
132133

133134
void run_stats::set_start_time(struct timeval* start_time)

run_stats_types.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ one_sec_cmd_stats::one_sec_cmd_stats() :
3535
m_ask(0),
3636
m_total_latency(0),
3737
m_avg_latency(0.0),
38-
m_max_latency(0.0),
39-
m_min_latency(0.0) {
38+
m_min_latency(0.0),
39+
m_max_latency(0.0) {
4040
}
4141

4242

0 commit comments

Comments
 (0)