From a854373d5901ae8c86c71dbbf7e369f6490daeac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pierre-Yves=20P=C3=A9neau?= Date: Wed, 15 Feb 2017 14:59:06 -0600 Subject: [PATCH] mem, stats: fix typos in CommMonitor and Stats MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre-Yves Péneau Reviewed-by: Tony Gutierrez Reviewed-by: Jason Lowe-Power Signed-off-by: Jason Lowe-Power Reviewed at http://reviews.gem5.org/r/3802/ --- src/base/statistics.hh | 4 ++-- src/mem/comm_monitor.cc | 2 +- src/mem/comm_monitor.hh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/statistics.hh b/src/base/statistics.hh index f8e651b97..cdb5a0b73 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -1359,7 +1359,7 @@ struct DistParams : public StorageParams }; /** - * Templatized storage and interface for a distrbution stat. + * Templatized storage and interface for a distribution stat. */ class DistStor { @@ -1894,7 +1894,7 @@ class DistBase : public DataWrap } /** - * Add the argument distribution to the this distibution. + * Add the argument distribution to the this distribution. */ void add(DistBase &d) { data()->add(d.data()); } diff --git a/src/mem/comm_monitor.cc b/src/mem/comm_monitor.cc index 303b1bfa6..d5800e5dd 100644 --- a/src/mem/comm_monitor.cc +++ b/src/mem/comm_monitor.cc @@ -490,7 +490,7 @@ CommMonitor::regStats() stats.writeTransHist .init(params()->transaction_bins) .name(name() + ".writeTransHist") - .desc("Histogram of read transactions per sample period") + .desc("Histogram of write transactions per sample period") .flags(stats.disableTransactionHists ? nozero : pdf); stats.readAddrDist diff --git a/src/mem/comm_monitor.hh b/src/mem/comm_monitor.hh index 28c8ec7a1..d46f75fe0 100644 --- a/src/mem/comm_monitor.hh +++ b/src/mem/comm_monitor.hh @@ -271,7 +271,7 @@ class CommMonitor : public MemObject struct MonitorStats { - /** Disable flag for burst length historgrams **/ + /** Disable flag for burst length histograms **/ bool disableBurstLengthHists; /** Histogram of read burst lengths */ -- 2.30.2