From: Nathan Binkert Date: Mon, 23 Feb 2009 20:22:18 +0000 (-0800) Subject: stats: move the limits stuff into the types.hh file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaf98aaa326e79710af0fdcb2425ef2f6a5e82f1;p=gem5.git stats: move the limits stuff into the types.hh file --- diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 5d894e8e1..d8145ddc4 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -55,7 +55,6 @@ #include #include #include -#include #include #include #include @@ -78,9 +77,7 @@ extern Tick curTick; /* A namespace for all of the Statistics */ namespace Stats { -typedef std::numeric_limits CounterLimits; -/* Contains the statistic implementation details */ ////////////////////////////////////////////////////////////////////// // // Statistics Framework Base classes 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 #include #include "sim/host.hh" @@ -42,6 +43,8 @@ typedef double Counter; /** vector of counters. */ typedef std::vector VCounter; +typedef std::numeric_limits CounterLimits; + /** All results are doubles. */ typedef double Result; /** vector of results. */