changeset 9775f70fbe66 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=9775f70fbe66 description: stats: move the limits stuff into the types.hh file
diffstat: 2 files changed, 3 insertions(+), 3 deletions(-) src/base/statistics.hh | 3 --- src/base/stats/types.hh | 3 +++ diffs (41 lines): diff -r 6b312cafaa59 -r 9775f70fbe66 src/base/statistics.hh --- a/src/base/statistics.hh Mon Feb 23 12:22:17 2009 -0800 +++ b/src/base/statistics.hh Mon Feb 23 12:22:18 2009 -0800 @@ -55,7 +55,6 @@ #include <cmath> #include <functional> #include <iosfwd> -#include <limits> #include <list> #include <string> #include <vector> @@ -78,9 +77,7 @@ /* A namespace for all of the Statistics */ namespace Stats { -typedef std::numeric_limits<Counter> CounterLimits; -/* Contains the statistic implementation details */ ////////////////////////////////////////////////////////////////////// // // Statistics Framework Base classes diff -r 6b312cafaa59 -r 9775f70fbe66 src/base/stats/types.hh --- a/src/base/stats/types.hh Mon Feb 23 12:22:17 2009 -0800 +++ b/src/base/stats/types.hh Mon Feb 23 12:22:18 2009 -0800 @@ -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 @@ /** vector of counters. */ typedef std::vector<Counter> VCounter; +typedef std::numeric_limits<Counter> CounterLimits; + /** All results are doubles. */ typedef double Result; /** vector of results. */ _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev