diff options
Diffstat (limited to 'src/base/stats/types.hh')
-rw-r--r-- | src/base/stats/types.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/stats/types.hh b/src/base/stats/types.hh index 9faa8d33d..831cc6db5 100644 --- a/src/base/stats/types.hh +++ b/src/base/stats/types.hh @@ -32,6 +32,7 @@ #define __BASE_STATS_TYPES_HH__ #include <limits> +#include <map> #include <vector> #include "base/types.hh" @@ -42,6 +43,8 @@ namespace Stats { typedef double Counter; /** vector of counters. */ typedef std::vector<Counter> VCounter; +/** map of counters */ +typedef std::map<Counter, int> MCounter; typedef std::numeric_limits<Counter> CounterLimits; |