summaryrefslogtreecommitdiff
path: root/src/base/stats/text.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-13 07:18:02 -0700
committerNathan Binkert <nate@binkert.org>2009-05-13 07:18:02 -0700
commitcfa9c781000a7af6ed419cb7b3b3ea78f1933cfe (patch)
tree6d1c4d3a5792e66755fba51e80e2946b4ef1021d /src/base/stats/text.cc
parent74c595d73900312a5106780527d1c49a823994e9 (diff)
downloadgem5-cfa9c781000a7af6ed419cb7b3b3ea78f1933cfe.tar.xz
stats: fancy is a bad name
Diffstat (limited to 'src/base/stats/text.cc')
-rw-r--r--src/base/stats/text.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index 599653244..10983506f 100644
--- a/src/base/stats/text.cc
+++ b/src/base/stats/text.cc
@@ -310,7 +310,7 @@ struct DistPrint
Counter max;
Counter bucket_size;
size_type size;
- bool fancy;
+ DistType type;
const DistData &data;
@@ -347,7 +347,7 @@ DistPrint::init(const Text *text, const Info &info, const DistParams *params)
precision = info.precision;
descriptions = text->descriptions;
- fancy = params->fancy;
+ type = params->type;
min = params->min;
max = params->max;
bucket_size = params->bucket_size;
@@ -383,7 +383,7 @@ DistPrint::operator()(ostream &stream) const
print.value = stdev;
print(stream);
- if (fancy)
+ if (type == Deviation)
return;
assert(size == data.cvec.size());