summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>2017-02-15 14:59:06 -0600
committerPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>2017-02-15 14:59:06 -0600
commita854373d5901ae8c86c71dbbf7e369f6490daeac (patch)
tree09e0bf65ff1d091ead381a6cd6c4306271322dff
parenta06a46f5d176a7ab1bafe11cd714fc29e4254fda (diff)
downloadgem5-a854373d5901ae8c86c71dbbf7e369f6490daeac.tar.xz
mem, stats: fix typos in CommMonitor and Stats
Signed-off-by: Pierre-Yves Péneau <pierre-yves.peneau@lirmm.fr> Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed at http://reviews.gem5.org/r/3802/
-rw-r--r--src/base/statistics.hh4
-rw-r--r--src/mem/comm_monitor.cc2
-rw-r--r--src/mem/comm_monitor.hh2
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<Derived, DistInfoProxy>
}
/**
- * 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 */