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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user