From 6c49198b7541eeddf648e210569e18eb0ab79303 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 11 Sep 2018 00:57:34 -0700 Subject: [PATCH] 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 Reviewed-by: Jason Lowe-Power Maintainer: Andreas Sandberg --- src/sim/core.cc | 4 ++-- src/sim/core.hh | 2 +- 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 -- 2.30.2