diff options
Diffstat (limited to 'src/base/stats/info.hh')
-rw-r--r-- | src/base/stats/info.hh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/base/stats/info.hh b/src/base/stats/info.hh index fa7c8cc3d..2c5b44a38 100644 --- a/src/base/stats/info.hh +++ b/src/base/stats/info.hh @@ -234,6 +234,20 @@ class FormulaInfo : public VectorInfo virtual std::string str() const = 0; }; +/** Data structure of sparse histogram */ +struct SparseHistData +{ + MCounter cmap; + Counter samples; +}; + + +class SparseHistInfo : public Info +{ + public: + /** Local storage for the entry values, used for printing. */ + SparseHistData data; +}; } // namespace Stats |