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

Go to the source code of this file.

Functions

Tick curTick ()
 The universal simulation clock. More...
 
void registerExitCallback (Callback *)
 Register a callback to be called when Python exits. More...
 
void exitSimLoop (const std::string &message, int exit_code=0, Tick when=curTick(), Tick repeat=0, bool serialize=false)
 Schedule an event to exit the simulation loop (returning to Python) at the end of the current cycle (curTick()). More...
 

Function Documentation

Tick curTick ( )
inline

The universal simulation clock.

The current simulated tick.

Definition at line 47 of file core.hh.

References _curEventQueue, and EventQueue::getCurTick().

void exitSimLoop ( const std::string &  message,
int  exit_code = 0,
Tick  when = curTick(),
Tick  repeat = 0,
bool  serialize = false 
)
void registerExitCallback ( Callback callback)

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