gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
PollQueue Class Reference

#include <pollevent.hh>

Public Member Functions

 PollQueue ()
 
 ~PollQueue ()
 
void copy ()
 
void remove (PollEvent *event)
 
void schedule (PollEvent *event)
 
void service ()
 

Static Public Member Functions

static void setupAsyncIO (int fd, bool set)
 

Private Types

typedef std::vector< PollEvent * > eventvec_t
 

Private Attributes

eventvec_t events
 
pollfd * poll_fds
 
int max_size
 
int num_fds
 

Detailed Description

Definition at line 67 of file pollevent.hh.

Member Typedef Documentation

Definition at line 70 of file pollevent.hh.

Constructor & Destructor Documentation

PollQueue::PollQueue ( )

Definition at line 111 of file pollevent.cc.

PollQueue::~PollQueue ( )

Definition at line 115 of file pollevent.cc.

References ArmISA::fd, ArmISA::i, num_fds, poll_fds, and setupAsyncIO().

Member Function Documentation

void PollQueue::copy ( )

Definition at line 124 of file pollevent.cc.

References events, ArmISA::i, num_fds, and poll_fds.

Referenced by PollEvent::disable(), PollEvent::enable(), remove(), and schedule().

void PollQueue::remove ( PollEvent event)
void PollQueue::schedule ( PollEvent event)
void PollQueue::service ( )

Definition at line 186 of file pollevent.cc.

References events, ArmISA::i, num_fds, and poll_fds.

Referenced by doSimLoop().

void PollQueue::setupAsyncIO ( int  fd,
bool  set 
)
static

Definition at line 204 of file pollevent.cc.

References async_event, async_io, getEventQueue(), panic, and EventQueue::wakeup().

Referenced by schedule(), and ~PollQueue().

Member Data Documentation

eventvec_t PollQueue::events
private

Definition at line 71 of file pollevent.hh.

Referenced by copy(), remove(), schedule(), and service().

int PollQueue::max_size
private

Definition at line 74 of file pollevent.hh.

Referenced by schedule().

int PollQueue::num_fds
private

Definition at line 75 of file pollevent.hh.

Referenced by copy(), schedule(), service(), and ~PollQueue().

pollfd* PollQueue::poll_fds
private

Definition at line 73 of file pollevent.hh.

Referenced by copy(), schedule(), service(), and ~PollQueue().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:17 for gem5 by doxygen 1.8.6