X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsim%2Fcore.hh;h=8e464548fe138120209f020286dfe0b914e7d04b;hb=abd33d6fd26bb69d3bf53ceb6c2dc8f90d893e34;hp=e0a6af91cc3ef31f78ce55cc83d450d353742fce;hpb=de366a16f11b7e27a5b5e064a2a773052568428e;p=gem5.git diff --git a/src/sim/core.hh b/src/sim/core.hh index e0a6af91c..8e464548f 100644 --- a/src/sim/core.hh +++ b/src/sim/core.hh @@ -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);