sim: Push the global frequency management code into C++.
[gem5.git] / src / sim / core.hh
index 281fe61f541b39eac08d6ec7b0af1e6baf0fdc91..8e464548fe138120209f020286dfe0b914e7d04b 100644 (file)
@@ -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);