gem5  v20.1.0.0
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 76 of file pollevent.hh.

Member Typedef Documentation

◆ eventvec_t

Definition at line 79 of file pollevent.hh.

Constructor & Destructor Documentation

◆ ~PollQueue()

PollQueue::~PollQueue ( )

Definition at line 115 of file pollevent.cc.

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

Member Function Documentation

◆ setupAsyncIO()

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

Definition at line 227 of file pollevent.cc.

References async_event, async_io, fcntlHelper(), ArmISA::fd, getEventQueue(), and EventQueue::wakeup().

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

Member Data Documentation

◆ events

eventvec_t PollQueue::events
private

Definition at line 80 of file pollevent.hh.

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

◆ max_size

int PollQueue::max_size
private

Definition at line 83 of file pollevent.hh.

Referenced by schedule().

◆ num_fds

int PollQueue::num_fds
private

Definition at line 84 of file pollevent.hh.

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

◆ poll_fds

pollfd* PollQueue::poll_fds
private

Definition at line 82 of file pollevent.hh.

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


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

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