From cfa9c781000a7af6ed419cb7b3b3ea78f1933cfe Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 13 May 2009 07:18:02 -0700 Subject: stats: fancy is a bad name --- src/base/stats/info.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/base/stats/info.hh') diff --git a/src/base/stats/info.hh b/src/base/stats/info.hh index e56445f94..85a0df447 100644 --- a/src/base/stats/info.hh +++ b/src/base/stats/info.hh @@ -180,9 +180,11 @@ struct DistData Counter samples; }; +enum DistType { Deviation, Dist }; + struct DistParams : public StorageParams { - const bool fancy; + const DistType type; /** The minimum value to track. */ Counter min; @@ -193,7 +195,7 @@ struct DistParams : public StorageParams /** The number of buckets. Equal to (max-min)/bucket_size. */ size_type buckets; - explicit DistParams(bool f) : fancy(f) {} + explicit DistParams(DistType t) : type(t) {} }; class DistInfo : public Info -- cgit v1.2.3