gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
PCEventQueue Class Reference

#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 PCEventrecord_t
 
typedef std::vector< record_tmap_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
 

Detailed Description

Definition at line 66 of file pc_event.hh.

Member Typedef Documentation

typedef map_t::const_iterator PCEventQueue::const_iterator

Definition at line 86 of file pc_event.hh.

Definition at line 90 of file pc_event.hh.

typedef map_t::iterator PCEventQueue::iterator

Definition at line 85 of file pc_event.hh.

Definition at line 82 of file pc_event.hh.

Definition at line 89 of file pc_event.hh.

typedef PCEvent* PCEventQueue::record_t
protected

Definition at line 69 of file pc_event.hh.

Constructor & Destructor Documentation

PCEventQueue::PCEventQueue ( )

Definition at line 48 of file pc_event.cc.

PCEventQueue::~PCEventQueue ( )

Definition at line 51 of file pc_event.cc.

Member Function Documentation

bool PCEventQueue::doService ( ThreadContext tc)
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

Definition at line 115 of file pc_event.cc.

References cprintf(), curTick(), ArmISA::e, and ArmISA::i.

PCEventQueue::range_t PCEventQueue::equal_range ( Addr  pc)

Definition at line 126 of file pc_event.cc.

References pc.

range_t PCEventQueue::equal_range ( PCEvent event)
inline

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().

bool PCEventQueue::service ( ThreadContext tc)
inline

Definition at line 103 of file pc_event.hh.

References doService(), and pc_map.

Member Data Documentation

map_t PCEventQueue::pc_map
protected

Definition at line 93 of file pc_event.hh.

Referenced by service().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6