gem5  v22.1.0.0
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
gem5::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 78 of file pollevent.hh.

Member Typedef Documentation

◆ eventvec_t

Definition at line 81 of file pollevent.hh.

Constructor & Destructor Documentation

◆ ~PollQueue()

gem5::PollQueue::~PollQueue ( )

Definition at line 115 of file

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

Member Function Documentation

◆ setupAsyncIO()

void gem5::PollQueue::setupAsyncIO ( int  fd,
bool  set 

Member Data Documentation

◆ events

eventvec_t gem5::PollQueue::events

Definition at line 82 of file pollevent.hh.

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

◆ max_size

int gem5::PollQueue::max_size

Definition at line 85 of file pollevent.hh.

Referenced by schedule().

◆ num_fds

int gem5::PollQueue::num_fds

Definition at line 86 of file pollevent.hh.

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

◆ poll_fds

pollfd* gem5::PollQueue::poll_fds

Definition at line 84 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 Dec 21 2022 10:23:12 for gem5 by doxygen 1.9.1