diff options
Diffstat (limited to 'src/ipa/libipa/histogram.h')
-rw-r--r-- | src/ipa/libipa/histogram.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/libipa/histogram.h b/src/ipa/libipa/histogram.h index 6fd64168..a926002c 100644 --- a/src/ipa/libipa/histogram.h +++ b/src/ipa/libipa/histogram.h @@ -36,6 +36,7 @@ public: } size_t bins() const { return cumulative_.size() - 1; } + const Span<const uint64_t> data() const { return cumulative_; } uint64_t total() const { return cumulative_[cumulative_.size() - 1]; } uint64_t cumulativeFrequency(double bin) const; double quantile(double q, uint32_t first = 0, uint32_t last = UINT_MAX) const; |