gem5 v25.0.0.1
Loading...
Searching...
No Matches
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 pollevent.cc.

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 )
static

Member Data Documentation

◆ events

eventvec_t gem5::PollQueue::events
private

Definition at line 82 of file pollevent.hh.

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

◆ max_size

int gem5::PollQueue::max_size
private

Definition at line 85 of file pollevent.hh.

Referenced by PollQueue(), and schedule().

◆ num_fds

int gem5::PollQueue::num_fds
private

Definition at line 86 of file pollevent.hh.

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

◆ poll_fds

pollfd* gem5::PollQueue::poll_fds
private

Definition at line 84 of file pollevent.hh.

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


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

Generated on Sat Oct 18 2025 08:06:53 for gem5 by doxygen 1.14.0