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>
This commit is contained in:
Gabe Black
2018-09-11 00:57:34 -07:00
parent 1023a92971
commit 6c49198b75
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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