gem5  v20.1.0.0
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
PCEventQueue Class Reference

#include <pc_event.hh>

Inheritance diagram for PCEventQueue:


class  MapCompare

Public Types

typedef Map::iterator iterator
typedef Map::const_iterator const_iterator

Public Member Functions

 PCEventQueue ()
 ~PCEventQueue ()
bool remove (PCEvent *event) override
bool schedule (PCEvent *event) override
bool service (Addr pc, ThreadContext *tc)
range_t equal_range (Addr pc)
range_t equal_range (PCEvent *event)
void dump () const

Protected Types

typedef std::vector< PCEvent * > Map
typedef std::pair< iterator, iteratorrange_t
typedef std::pair< const_iterator, const_iteratorconst_range_t

Protected Member Functions

bool doService (Addr pc, ThreadContext *tc)

Protected Attributes

Map pcMap

Detailed Description

Definition at line 71 of file pc_event.hh.

Member Typedef Documentation

◆ const_iterator

typedef Map::const_iterator PCEventQueue::const_iterator

Definition at line 96 of file pc_event.hh.

◆ const_range_t

Definition at line 100 of file pc_event.hh.

◆ iterator

typedef Map::iterator PCEventQueue::iterator

Definition at line 95 of file pc_event.hh.

◆ Map

typedef std::vector<PCEvent *> PCEventQueue::Map

Definition at line 92 of file pc_event.hh.

◆ range_t

Definition at line 99 of file pc_event.hh.

Constructor & Destructor Documentation

◆ PCEventQueue()

PCEventQueue::PCEventQueue ( )

Definition at line 43 of file

◆ ~PCEventQueue()

PCEventQueue::~PCEventQueue ( )

Definition at line 46 of file

Member Function Documentation

◆ doService()

bool PCEventQueue::doService ( Addr  pc,
ThreadContext tc 

Definition at line 82 of file

References DPRINTF, ArmISA::i, PCEvent::pc(), and MipsISA::pc.

Referenced by service().

◆ dump()

void PCEventQueue::dump ( ) const

Definition at line 100 of file

References cprintf(), curTick(), ArmISA::e, and ArmISA::i.

◆ equal_range() [1/2]

PCEventQueue::range_t PCEventQueue::equal_range ( Addr  pc)

Definition at line 111 of file

References MipsISA::pc.

◆ equal_range() [2/2]

range_t PCEventQueue::equal_range ( PCEvent event)

Definition at line 122 of file pc_event.hh.

References equal_range(), and MipsISA::event.

Referenced by equal_range().

◆ remove()

bool PCEventQueue::remove ( PCEvent event)

Implements PCEventScope.

Definition at line 50 of file

References DPRINTF, MipsISA::event, and ArmISA::i.

Referenced by SimpleThread::remove().

◆ schedule()

bool PCEventQueue::schedule ( PCEvent event)

Implements PCEventScope.

Definition at line 70 of file

References DPRINTF, and MipsISA::event.

Referenced by SimpleThread::schedule().

◆ service()

bool PCEventQueue::service ( Addr  pc,
ThreadContext tc 

Definition at line 113 of file pc_event.hh.

References doService(), MipsISA::pc, and pcMap.

Member Data Documentation

◆ pcMap

Map PCEventQueue::pcMap

Definition at line 103 of file pc_event.hh.

Referenced by service().

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