diff options
author | Nathan Binkert <nate@binkert.org> | 2009-03-05 19:09:53 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-03-05 19:09:53 -0800 |
commit | 244c2a517a48a0985091397bed6a754cb2e2e1a5 (patch) | |
tree | 86f676861612f03dba0e401aff7478dc8adbb84f /src/base/stats/mysql.cc | |
parent | e19fd1d521cd8444a52374392643ebf8be0b6c09 (diff) | |
download | gem5-244c2a517a48a0985091397bed6a754cb2e2e1a5.tar.xz |
stats: stick the distribution's fancy parameter into the parameters structure.
Diffstat (limited to 'src/base/stats/mysql.cc')
-rw-r--r-- | src/base/stats/mysql.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/stats/mysql.cc b/src/base/stats/mysql.cc index 72f31240d..58c620ed1 100644 --- a/src/base/stats/mysql.cc +++ b/src/base/stats/mysql.cc @@ -583,8 +583,8 @@ MySql::configure(const DistInfoBase &info) if (!configure(info, "DIST")) return; - if (!info.data.fancy) { - const Params *params = safe_cast<const Params *>(info.storageParams); + const Params *params = safe_cast<const Params *>(info.storageParams); + if (!params->fancy) { stat.size = params->buckets; stat.min = params->min; stat.max = params->max; @@ -599,8 +599,8 @@ MySql::configure(const VectorDistInfoBase &info) if (!configure(info, "VECTORDIST")) return; - if (!info.data[0].fancy) { - const Params *params = safe_cast<const Params *>(info.storageParams); + const Params *params = safe_cast<const Params *>(info.storageParams); + if (!params->fancy) { stat.size = params->buckets; stat.min = params->min; stat.max = params->max; |