gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
simulate.hh File Reference
#include "base/types.hh"

Go to the source code of this file.

Functions

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

Variables

GlobalSimLoopExitEventsimulate_limit_event
 

Function Documentation

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.

Returns
The SimLoopExitEvent that caused the loop to exit.

Delete the simulation quantum event.

Definition at line 83 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, thread_loop(), and Barrier::wait().

Referenced by RubySystem::memWriteback(), pybind_init_event(), and RubySystem::startup().

Variable Documentation

GlobalSimLoopExitEvent* simulate_limit_event

Definition at line 75 of file simulate.cc.


Generated on Fri Jun 9 2017 13:03:59 for gem5 by doxygen 1.8.6