gem5
v20.1.0.0
|
#include "base/types.hh"
Go to the source code of this file.
Functions | |
GlobalSimLoopExitEvent * | simulate (Tick num_cycles=MaxTick) |
Simulate for num_cycles additional cycles. More... | |
Variables | |
GlobalSimLoopExitEvent * | simulate_limit_event |
GlobalSimLoopExitEvent* simulate | ( | Tick | num_cycles | ) |
Simulate for num_cycles additional cycles.
If num_cycles is -1 (the default), do not limit simulation; some other event must terminate the loop. Exported to Python.
Delete the simulation quantum event.
Definition at line 80 of file simulate.cc.
References curTick(), BaseGlobalEvent::deschedule(), doSimLoop(), fatal, Event::globalEvent(), ArmISA::i, inform, inParallelMode, mainEventQueue, MaxTick, numMainEventQueues, EventBase::Progress_Event_Pri, BaseGlobalEvent::reschedule(), simQuantum, simulate_limit_event, thread_loop(), threadBarrier, and Barrier::wait().
Referenced by RubySystem::memWriteback(), pybind_init_event(), and RubySystem::startup().
GlobalSimLoopExitEvent* simulate_limit_event |
Definition at line 72 of file simulate.cc.
Referenced by simulate().