From: Gabe Black Date: Tue, 11 Sep 2018 07:57:34 +0000 (-0700) Subject: base: Correct a small typo in sim/core.(hh|cc). X-Git-Tag: v19.0.0.0~1839 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c49198b7541eeddf648e210569e18eb0ab79303;p=gem5.git 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 --- 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