From aaf98aaa326e79710af0fdcb2425ef2f6a5e82f1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 23 Feb 2009 12:22:18 -0800 Subject: [PATCH] stats: move the limits stuff into the types.hh file --- src/base/statistics.hh | 3 --- src/base/stats/types.hh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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. */ -- 2.30.2