gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
async.hh File Reference

This file defines flags used to handle asynchronous simulator events. More...

Go to the source code of this file.

Variables

Asynchronous event flags.

To avoid races, signal handlers simply set these flags, which are then checked in the main event loop.

Defined in main.cc.

volatile bool async_event
 Some asynchronous event has happened. More...
 
volatile bool async_statdump
 Async request to dump stats. More...
 
volatile bool async_statreset
 Async request to reset stats. More...
 
volatile bool async_exit
 Async request to exit simulator. More...
 
volatile bool async_io
 Async I/O request (SIGIO). More...
 
volatile bool async_exception
 Python exception. More...
 

Detailed Description

This file defines flags used to handle asynchronous simulator events.

Definition in file async.hh.

Variable Documentation

volatile bool async_event

Some asynchronous event has happened.

Definition at line 31 of file async.cc.

Referenced by doSimLoop(), dumprstStatsHandler(), dumpStatsHandler(), exitNowHandler(), ioHandler(), PollQueue::setupAsyncIO(), and testAndClearAsyncEvent().

volatile bool async_exception

Python exception.

Definition at line 36 of file async.cc.

Referenced by doSimLoop().

volatile bool async_exit

Async request to exit simulator.

Definition at line 34 of file async.cc.

Referenced by doSimLoop(), and exitNowHandler().

volatile bool async_io

Async I/O request (SIGIO).

Definition at line 35 of file async.cc.

Referenced by doSimLoop(), ioHandler(), and PollQueue::setupAsyncIO().

volatile bool async_statdump

Async request to dump stats.

Definition at line 32 of file async.cc.

Referenced by doSimLoop(), dumprstStatsHandler(), and dumpStatsHandler().

volatile bool async_statreset

Async request to reset stats.

Definition at line 33 of file async.cc.

Referenced by doSimLoop(), and dumprstStatsHandler().


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