gem5
v20.1.0.0
|
#include <pc_event.hh>
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, iterator > | range_t |
typedef std::pair< const_iterator, const_iterator > | const_range_t |
Protected Member Functions | |
bool | doService (Addr pc, ThreadContext *tc) |
Protected Attributes | |
Map | pcMap |
Definition at line 71 of file pc_event.hh.
typedef Map::const_iterator PCEventQueue::const_iterator |
Definition at line 96 of file pc_event.hh.
|
protected |
Definition at line 100 of file pc_event.hh.
typedef Map::iterator PCEventQueue::iterator |
Definition at line 95 of file pc_event.hh.
|
protected |
Definition at line 92 of file pc_event.hh.
|
protected |
Definition at line 99 of file pc_event.hh.
PCEventQueue::PCEventQueue | ( | ) |
Definition at line 43 of file pc_event.cc.
PCEventQueue::~PCEventQueue | ( | ) |
Definition at line 46 of file pc_event.cc.
|
protected |
Definition at line 82 of file pc_event.cc.
References DPRINTF, ArmISA::i, PCEvent::pc(), and MipsISA::pc.
Referenced by service().
void PCEventQueue::dump | ( | ) | const |
PCEventQueue::range_t PCEventQueue::equal_range | ( | Addr | pc | ) |
Definition at line 111 of file pc_event.cc.
References MipsISA::pc.
Definition at line 122 of file pc_event.hh.
References equal_range(), and MipsISA::event.
Referenced by equal_range().
|
overridevirtual |
Implements PCEventScope.
Definition at line 50 of file pc_event.cc.
References DPRINTF, MipsISA::event, and ArmISA::i.
Referenced by SimpleThread::remove().
|
overridevirtual |
Implements PCEventScope.
Definition at line 70 of file pc_event.cc.
References DPRINTF, and MipsISA::event.
Referenced by SimpleThread::schedule().
|
inline |
Definition at line 113 of file pc_event.hh.
References doService(), MipsISA::pc, and pcMap.
|
protected |
Definition at line 103 of file pc_event.hh.
Referenced by service().