summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-09-11 00:57:34 -0700
committerGabe Black <gabeblack@google.com>2018-09-11 21:39:13 +0000
commit6c49198b7541eeddf648e210569e18eb0ab79303 (patch)
treece38f2a455d76780723747f94a2bddf87acdc3b1 /src/sim
parent1023a92971a32cdfa58e119b5fe62b91d580e729 (diff)
downloadgem5-6c49198b7541eeddf648e210569e18eb0ab79303.tar.xz
base: Correct a small typo in sim/core.(hh|cc).
The value GHz with a small z was spelled GHZ with a large z, which was inconsistent with the other frequency-like values in that namespace. Change-Id: I55dfc447a5811ae584e46769cd9cadd08bd1e716 Reviewed-on: https://gem5-review.googlesource.com/12572 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/core.cc4
-rw-r--r--src/sim/core.hh2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/core.cc b/src/sim/core.cc
index 00df23ed6..514c4c557 100644
--- a/src/sim/core.cc
+++ b/src/sim/core.cc
@@ -56,7 +56,7 @@ double ps;
double Hz;
double kHz;
double MHz;
-double GHZ;
+double GHz;
} // namespace Float
namespace Int {
@@ -83,7 +83,7 @@ setClockFrequency(Tick ticksPerSecond)
Float::Hz = 1.0 / Float::s;
Float::kHz = 1.0 / Float::ms;
Float::MHz = 1.0 / Float::us;
- Float::GHZ = 1.0 / Float::ns;
+ Float::GHz = 1.0 / Float::ns;
Int::s = Frequency;
Int::ms = Int::s / 1000;
diff --git a/src/sim/core.hh b/src/sim/core.hh
index e0a6af91c..281fe61f5 100644
--- a/src/sim/core.hh
+++ b/src/sim/core.hh
@@ -72,7 +72,7 @@ extern double ps; ///< picosecond
extern double Hz; ///< Hz
extern double kHz; ///< kHz
extern double MHz; ///< MHz
-extern double GHZ; ///< GHz
+extern double GHz; ///< GHz
/** @}*/
} // namespace Float