Go to the documentation of this file.
76 bool _clockFrequencyFixed =
false;
79 Tick _ticksPerSecond = 1e12;
86 if (_clockFrequencyFixed)
89 using namespace sim_clock;
108 cprintf(
"Global frequency set at %d ticks per second\n", _ticksPerSecond);
110 _clockFrequencyFixed =
true;
118 "Global frequency already fixed at %f ticks/s.", _ticksPerSecond);
119 _ticksPerSecond = tps;
132 inline CallbackQueue &
void cprintf(const char *format, const Args &...args)
Tick Frequency
The simulated frequency of curTick(). (In ticks per second)
double Hz
These variables the inverse of above.
void doExitCleanup()
Do C++ simulator exit processing.
CallbackQueue & exitCallbacks()
Queue of C++ callbacks to invoke on simulator exit.
uint64_t Tick
Tick count type.
void setDirectory(const std::string &dir)
Sets name of this directory.
bool clockFrequencyFixed()
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
void setOutputDir(const std::string &dir)
void setClockFrequency(Tick tps)
void registerExitCallback(const std::function< void()> &callback)
Register an exit callback.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
double s
These variables equal the number of ticks in the unit of time they're named after in a double.
Generated on Sun Jul 30 2023 01:56:59 for gem5 by doxygen 1.8.17