gem5  v20.1.0.0
Functions | Variables
simulate.hh File Reference
#include "base/types.hh"

Go to the source code of this file.


GlobalSimLoopExitEventsimulate (Tick num_cycles=MaxTick)
 Simulate for num_cycles additional cycles. More...



Function Documentation

◆ simulate()

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.

The SimLoopExitEvent that caused the loop to exit.

Delete the simulation quantum event.

Definition at line 80 of file

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().

Variable Documentation

◆ simulate_limit_event

GlobalSimLoopExitEvent* simulate_limit_event

Definition at line 72 of file

Referenced by simulate().

Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17