gem5
v21.0.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 41 of file pc_event.cc.
PCEventQueue::~PCEventQueue | ( | ) |
Definition at line 44 of file pc_event.cc.
|
protected |
Definition at line 80 of file pc_event.cc.
References DPRINTF, equal_range(), 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 109 of file pc_event.cc.
References MipsISA::pc, and pcMap.
Referenced by doService(), and remove().
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 48 of file pc_event.cc.
References DPRINTF, equal_range(), MipsISA::event, ArmISA::i, and pcMap.
Referenced by SimpleThread::remove().
|
overridevirtual |
Implements PCEventScope.
Definition at line 68 of file pc_event.cc.
References DPRINTF, MipsISA::event, and pcMap.
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 dump(), equal_range(), remove(), schedule(), and service().