Gabe Black has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/12572 )

Change subject: base: Correct a small typo in sim/core.(hh|cc).
......................................................................

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 <[email protected]>
Reviewed-by: Jason Lowe-Power <[email protected]>
Maintainer: Andreas Sandberg <[email protected]>
---
M src/sim/core.cc
M src/sim/core.hh
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, approved
  Andreas Sandberg: Looks good to me, approved; Looks good to me, approved



diff --git a/src/sim/core.cc b/src/sim/core.cc
index 00df23e..514c4c5 100644
--- a/src/sim/core.cc
+++ b/src/sim/core.cc
@@ -56,7 +56,7 @@
 double Hz;
 double kHz;
 double MHz;
-double GHZ;
+double GHz;
 } // namespace Float

 namespace Int {
@@ -83,7 +83,7 @@
     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 e0a6af9..281fe61 100644
--- a/src/sim/core.hh
+++ b/src/sim/core.hh
@@ -72,7 +72,7 @@
 extern double Hz;  ///< Hz
 extern double kHz; ///< kHz
 extern double MHz; ///< MHz
-extern double GHZ; ///< GHz
+extern double GHz; ///< GHz
 /** @}*/
 } // namespace Float


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/12572
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I55dfc447a5811ae584e46769cd9cadd08bd1e716
Gerrit-Change-Number: 12572
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to