gem5
|
#include <pc_event.hh>
Classes | |
class | MapCompare |
Public Types | |
typedef map_t::iterator | iterator |
typedef map_t::const_iterator | const_iterator |
Public Member Functions | |
PCEventQueue () | |
~PCEventQueue () | |
bool | remove (PCEvent *event) |
bool | schedule (PCEvent *event) |
bool | service (ThreadContext *tc) |
range_t | equal_range (Addr pc) |
range_t | equal_range (PCEvent *event) |
void | dump () const |
Protected Types | |
typedef PCEvent * | record_t |
typedef std::vector< record_t > | map_t |
typedef std::pair< iterator, iterator > | range_t |
typedef std::pair < const_iterator, const_iterator > | const_range_t |
Protected Member Functions | |
bool | doService (ThreadContext *tc) |
Protected Attributes | |
map_t | pc_map |
Definition at line 66 of file pc_event.hh.
typedef map_t::const_iterator PCEventQueue::const_iterator |
Definition at line 86 of file pc_event.hh.
|
protected |
Definition at line 90 of file pc_event.hh.
typedef map_t::iterator PCEventQueue::iterator |
Definition at line 85 of file pc_event.hh.
|
protected |
Definition at line 82 of file pc_event.hh.
|
protected |
Definition at line 89 of file pc_event.hh.
|
protected |
Definition at line 69 of file pc_event.hh.
PCEventQueue::PCEventQueue | ( | ) |
Definition at line 48 of file pc_event.cc.
PCEventQueue::~PCEventQueue | ( | ) |
Definition at line 51 of file pc_event.cc.
|
protected |
Definition at line 89 of file pc_event.cc.
References DPRINTF, ArmISA::i, ThreadContext::instAddr(), PCEvent::pc(), and pc.
Referenced by service().
void PCEventQueue::dump | ( | ) | const |
PCEventQueue::range_t PCEventQueue::equal_range | ( | Addr | pc | ) |
Definition at line 126 of file pc_event.cc.
References pc.
Definition at line 112 of file pc_event.hh.
References equal_range(), and PCEvent::pc().
Referenced by equal_range().
bool PCEventQueue::remove | ( | PCEvent * | event | ) |
Definition at line 55 of file pc_event.cc.
References DPRINTF, ArmISA::i, and PCEvent::pc().
Referenced by PCEvent::remove().
bool PCEventQueue::schedule | ( | PCEvent * | event | ) |
Definition at line 77 of file pc_event.cc.
References DPRINTF, and PCEvent::pc().
Referenced by PCEvent::PCEvent().
|
inline |
Definition at line 103 of file pc_event.hh.
References doService(), and pc_map.
|
protected |
Definition at line 93 of file pc_event.hh.
Referenced by service().