gem5 v24.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 74 of file pc_event.hh.
typedef Map::const_iterator gem5::PCEventQueue::const_iterator |
Definition at line 100 of file pc_event.hh.
|
protected |
Definition at line 104 of file pc_event.hh.
typedef Map::iterator gem5::PCEventQueue::iterator |
Definition at line 99 of file pc_event.hh.
|
protected |
Definition at line 96 of file pc_event.hh.
|
protected |
Definition at line 103 of file pc_event.hh.
gem5::PCEventQueue::PCEventQueue | ( | ) |
Definition at line 44 of file pc_event.cc.
gem5::PCEventQueue::~PCEventQueue | ( | ) |
Definition at line 47 of file pc_event.cc.
|
protected |
Definition at line 83 of file pc_event.cc.
References DPRINTF, equal_range(), gem5::ArmISA::i, gem5::MipsISA::pc, and gem5::PCEvent::pc().
Referenced by service().
void gem5::PCEventQueue::dump | ( | ) | const |
Definition at line 101 of file pc_event.cc.
References gem5::cprintf(), gem5::curTick(), gem5::ArmISA::e, gem5::ArmISA::i, and pcMap.
PCEventQueue::range_t gem5::PCEventQueue::equal_range | ( | Addr | pc | ) |
Definition at line 112 of file pc_event.cc.
References gem5::MipsISA::pc, and pcMap.
Referenced by doService(), and remove().
Definition at line 126 of file pc_event.hh.
References equal_range(), and gem5::MipsISA::event.
Referenced by equal_range().
|
overridevirtual |
Implements gem5::PCEventScope.
Definition at line 51 of file pc_event.cc.
References DPRINTF, equal_range(), gem5::MipsISA::event, gem5::ArmISA::i, gem5::PCEvent::pc(), and pcMap.
Referenced by gem5::o3::ThreadContext::remove(), and gem5::SimpleThread::remove().
|
overridevirtual |
Implements gem5::PCEventScope.
Definition at line 71 of file pc_event.cc.
References DPRINTF, gem5::MipsISA::event, gem5::PCEvent::pc(), and pcMap.
Referenced by gem5::o3::ThreadContext::schedule(), and gem5::SimpleThread::schedule().
|
inline |
Definition at line 117 of file pc_event.hh.
References doService(), gem5::MipsISA::pc, and pcMap.
|
protected |
Definition at line 107 of file pc_event.hh.
Referenced by dump(), equal_range(), remove(), schedule(), and service().