Go to the documentation of this file.
73 bool _clockFrequencyFixed =
false;
76 Tick _ticksPerSecond = 1e12;
83 if (_clockFrequencyFixed)
105 cprintf(
"Global frequency set at %d ticks per second\n", _ticksPerSecond);
107 _clockFrequencyFixed =
true;
115 "Global frequency already fixed at %f ticks/s.", _ticksPerSecond);
116 _ticksPerSecond = tps;
void doExitCleanup()
Do C++ simulator exit processing.
void setClockFrequency(Tick tps)
uint64_t Tick
Tick count type.
void setDirectory(const std::string &dir)
Sets name of this directory.
Tick Frequency
The simulated frequency of curTick(). (In ticks per second)
void setOutputDir(const string &dir)
CallbackQueue & exitCallbacks()
Queue of C++ callbacks to invoke on simulator exit.
void registerExitCallback(const std::function< void()> &callback)
Register an exit callback.
double Hz
These variables the inverse of above.
void cprintf(const char *format, const Args &...args)
bool clockFrequencyFixed()
These are variables that are set based on the simulator frequency.
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
Overload hash function for BasicBlockRange type.
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17