|
gem5 v23.0.0.1
|
#include "sim/core.hh"#include <iostream>#include <string>#include "base/callback.hh"#include "base/cprintf.hh"#include "base/logging.hh"#include "base/output.hh"Go to the source code of this file.
Namespaces | |
| namespace | gem5 |
| Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223. | |
| namespace | gem5::sim_clock |
| These are variables that are set based on the simulator frequency. | |
| namespace | gem5::sim_clock::as_float |
| namespace | gem5::sim_clock::as_int |
| These variables equal the number of ticks in the unit of time they're named after in a 64 bit integer. | |
Functions | |
| void | gem5::fixClockFrequency () |
| bool | gem5::clockFrequencyFixed () |
| void | gem5::setClockFrequency (Tick tps) |
| Tick | gem5::getClockFrequency () |
| void | gem5::setOutputDir (const std::string &dir) |
| CallbackQueue & | gem5::exitCallbacks () |
| Queue of C++ callbacks to invoke on simulator exit. | |
| void | gem5::registerExitCallback (const std::function< void()> &callback) |
| Register an exit callback. | |
| void | gem5::doExitCleanup () |
| Do C++ simulator exit processing. | |
Variables | |
| Tick | gem5::sim_clock::Frequency |
| The simulated frequency of curTick(). (In ticks per second) | |
| Tick | gem5::sim_clock::as_int::s |
| second | |
| Tick | gem5::sim_clock::as_int::ms |
| millisecond | |
| Tick | gem5::sim_clock::as_int::us |
| microsecond | |
| Tick | gem5::sim_clock::as_int::ns |
| nanosecond | |
| Tick | gem5::sim_clock::as_int::ps |
| picosecond | |
| double | gem5::sim_clock::as_float::s |
| These variables equal the number of ticks in the unit of time they're named after in a double. | |
| double | gem5::sim_clock::as_float::ms |
| millisecond | |
| double | gem5::sim_clock::as_float::us |
| microsecond | |
| double | gem5::sim_clock::as_float::ns |
| nanosecond | |
| double | gem5::sim_clock::as_float::ps |
| picosecond | |
| double | gem5::sim_clock::as_float::Hz |
| These variables the inverse of above. | |
| double | gem5::sim_clock::as_float::kHz |
| kHz | |
| double | gem5::sim_clock::as_float::MHz |
| MHz. | |
| double | gem5::sim_clock::as_float::GHz |
| GHz. | |