Skip to content

Commit

Permalink
Fix typo bug in hdr_histogram_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
anujkaliaiitd committed Aug 23, 2021
1 parent 88e615a commit 2d46d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/hdr_histogram_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LatencyUsHdrHistogram {
static constexpr int64_t kMaxLatencyMicros = 1000 * 1000 * 100; // 100 sec
static constexpr int64_t kLatencyPrecision = 2; // Two significant digits
LatencyUsHdrHistogram() {
int ret = hdr_init(kMaxLatencyMicros, kMaxLatencyMicros, kLatencyPrecision,
int ret = hdr_init(kMinLatencyMicros, kMaxLatencyMicros, kLatencyPrecision,
&hist);
if (ret != 0) {
fprintf(stderr, "Failed to init HDR histogram");
Expand Down

0 comments on commit 2d46d4f

Please sign in to comment.