stats: move the limits stuff into the types.hh file

This commit is contained in:
Nathan Binkert 2009-02-23 12:22:18 -08:00
parent 80d5f34da6
commit aaf98aaa32
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,6 @@
#include <cmath>
#include <functional>
#include <iosfwd>
#include <limits>
#include <list>
#include <string>
#include <vector>
@ -78,9 +77,7 @@ extern Tick curTick;
/* A namespace for all of the Statistics */
namespace Stats {
typedef std::numeric_limits<Counter> CounterLimits;
/* Contains the statistic implementation details */
//////////////////////////////////////////////////////////////////////
//
// Statistics Framework Base classes

View file

@ -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. */