gem5  v20.1.0.0
async.hh File Reference

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

◆ async_event

volatile bool async_event

Some asynchronous event has happened.

Definition at line 29 of file async.cc.

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

◆ async_exception

volatile bool async_exception

Python exception.

Definition at line 34 of file async.cc.

Referenced by doSimLoop().

◆ async_exit

volatile bool async_exit

Async request to exit simulator.

Definition at line 32 of file async.cc.

Referenced by doSimLoop(), and exitNowHandler().

◆ async_io

volatile bool async_io

Async I/O request (SIGIO).

Definition at line 33 of file async.cc.

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

◆ async_statdump

volatile bool async_statdump

Async request to dump stats.

Definition at line 30 of file async.cc.

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

◆ async_statreset

volatile bool async_statreset

Async request to reset stats.

Definition at line 31 of file async.cc.

Referenced by doSimLoop(), and dumprstStatsHandler().


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