base, sim: Add missing destructors
[gem5.git] / src / sim / core.hh
index e0a6af91cc3ef31f78ce55cc83d450d353742fce..8e464548fe138120209f020286dfe0b914e7d04b 100644 (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
 
@@ -91,7 +91,12 @@ extern Tick ps; ///< picosecond
 } // namespace Int
 } // namespace SimClock
 /** @} */
+
+void fixClockFrequency();
+bool clockFrequencyFixed();
+
 void setClockFrequency(Tick ticksPerSecond);
+Tick getClockFrequency(); // Ticks per second.
 
 void setOutputDir(const std::string &dir);