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:
PCEventScope

Classes

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
protected

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 pc_event.cc.

◆ ~PCEventQueue()

PCEventQueue::~PCEventQueue ( )

Definition at line 46 of file pc_event.cc.

Member Function Documentation

◆ doService()

bool PCEventQueue::doService ( Addr  pc,
ThreadContext tc 
)
protected

Definition at line 82 of file pc_event.cc.

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

Referenced by service().

◆ dump()

void PCEventQueue::dump ( ) const

Definition at line 100 of file pc_event.cc.

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 pc_event.cc.

References MipsISA::pc.

◆ equal_range() [2/2]

range_t PCEventQueue::equal_range ( PCEvent event)
inline

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

Implements PCEventScope.

Definition at line 50 of file pc_event.cc.

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

Referenced by SimpleThread::remove().

◆ schedule()

bool PCEventQueue::schedule ( PCEvent event)
overridevirtual

Implements PCEventScope.

Definition at line 70 of file pc_event.cc.

References DPRINTF, and MipsISA::event.

Referenced by SimpleThread::schedule().

◆ service()

bool PCEventQueue::service ( Addr  pc,
ThreadContext tc 
)
inline

Definition at line 113 of file pc_event.hh.

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

Member Data Documentation

◆ pcMap

Map PCEventQueue::pcMap
protected

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