summaryrefslogtreecommitdiff
path: root/src/base/stats/text.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-02-23 12:22:15 -0800
committerNathan Binkert <nate@binkert.org>2009-02-23 12:22:15 -0800
commitfb74987c522a141b2f61d303377453cbbfae0788 (patch)
tree4943df9a3f7f920ba378c74786d0bde0f6debc12 /src/base/stats/text.hh
parentbcb7e70178d2d15a8c30561311634df7a2c24c70 (diff)
downloadgem5-fb74987c522a141b2f61d303377453cbbfae0788.tar.xz
stats: Try to make the names of things more intuitive.
Basically, this means renaming several things called data to info, which is information about the statistics. Things that are named data now are actual data stored for the statistic.
Diffstat (limited to 'src/base/stats/text.hh')
-rw-r--r--src/base/stats/text.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/base/stats/text.hh b/src/base/stats/text.hh
index 781d1083d..38e0202eb 100644
--- a/src/base/stats/text.hh
+++ b/src/base/stats/text.hh
@@ -46,7 +46,7 @@ class Text : public Output
std::ostream *stream;
protected:
- bool noOutput(const StatData &data);
+ bool noOutput(const Info &info);
public:
bool compat;
@@ -62,12 +62,12 @@ class Text : public Output
void open(const std::string &file);
// Implement Visit
- virtual void visit(const ScalarData &data);
- virtual void visit(const VectorData &data);
- virtual void visit(const DistData &data);
- virtual void visit(const VectorDistData &data);
- virtual void visit(const Vector2dData &data);
- virtual void visit(const FormulaData &data);
+ virtual void visit(const ScalarInfoBase &info);
+ virtual void visit(const VectorInfoBase &info);
+ virtual void visit(const DistInfoBase &info);
+ virtual void visit(const VectorDistInfoBase &info);
+ virtual void visit(const Vector2dInfoBase &info);
+ virtual void visit(const FormulaInfoBase &info);
// Implement Output
virtual bool valid() const;