diff options
author | Nathan Binkert <nate@binkert.org> | 2009-02-23 12:22:18 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-02-23 12:22:18 -0800 |
commit | aaf98aaa326e79710af0fdcb2425ef2f6a5e82f1 (patch) | |
tree | 597177ed667f030073e21ebf5258c9aa72121a92 /src/base/stats/types.hh | |
parent | 80d5f34da6788d63e2be6458a5d2a548b459d0d0 (diff) | |
download | gem5-aaf98aaa326e79710af0fdcb2425ef2f6a5e82f1.tar.xz |
stats: move the limits stuff into the types.hh file
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 6f56aec9a..e561f94ad 100644 --- a/src/base/stats/types.hh +++ b/src/base/stats/types.hh @@ -31,6 +31,7 @@ #ifndef __BASE_STATS_TYPES_HH__ #define __BASE_STATS_TYPES_HH__ +#include <limits> #include <vector> #include "sim/host.hh" @@ -42,6 +43,8 @@ typedef double Counter; /** vector of counters. */ typedef std::vector<Counter> VCounter; +typedef std::numeric_limits<Counter> CounterLimits; + /** All results are doubles. */ typedef double Result; /** vector of results. */ |