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

#include <cp_annotate.hh>

Public Types

enum  flags {
  FL_NONE = 0x00, FL_HW = 0x01, FL_BAD = 0x02, FL_QOPP = 0x04,
  FL_WAIT = 0x08, FL_LINK = 0x10, FL_RESET = 0x20
}
 

Public Member Functions

bool enabled ()
 
void swSmBegin (ThreadContext *tc)
 
void swSmEnd (ThreadContext *tc)
 
void swExplictBegin (ThreadContext *tc)
 
void swAutoBegin (ThreadContext *tc, Addr next_pc)
 
void swEnd (ThreadContext *tc)
 
void swQ (ThreadContext *tc)
 
void swDq (ThreadContext *tc)
 
void swPq (ThreadContext *tc)
 
void swRq (ThreadContext *tc)
 
void swWf (ThreadContext *tc)
 
void swWe (ThreadContext *tc)
 
void swSq (ThreadContext *tc)
 
void swAq (ThreadContext *tc)
 
void swLink (ThreadContext *tc)
 
void swIdentify (ThreadContext *tc)
 
uint64_t swGetId (ThreadContext *tc)
 
void swSyscallLink (ThreadContext *tc)
 
void hwBegin (flags f, System *sys, uint64_t frame, std::string sm, std::string st)
 
void hwQ (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 
void hwDq (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 
void hwPq (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 
void hwRq (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 
void hwWf (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 
void hwWe (flags f, System *sys, uint64_t frame, std::string sm, std::string q, uint64_t qid, System *q_sys=NULL, int32_t count=1)
 

Static Public Member Functions

static CPAcpa ()
 
static bool available ()
 

Detailed Description

Definition at line 71 of file cp_annotate.hh.

Member Enumeration Documentation

enum CPA::flags
Enumerator
FL_NONE 
FL_HW 
FL_BAD 
FL_QOPP 
FL_WAIT 
FL_LINK 
FL_RESET 

Definition at line 74 of file cp_annotate.hh.

Member Function Documentation

static bool CPA::available ( )
inlinestatic
static CPA* CPA::cpa ( )
inlinestatic
bool CPA::enabled ( )
inline

Definition at line 86 of file cp_annotate.hh.

Referenced by IGbE::ethRxPkt().

void CPA::hwBegin ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  st 
)
inline

Definition at line 104 of file cp_annotate.hh.

Referenced by CopyEngine::CopyEngineChannel::anBegin(), and IGbE::anBegin().

void CPA::hwDq ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline
void CPA::hwPq ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline

Definition at line 112 of file cp_annotate.hh.

Referenced by IGbE::anPq().

void CPA::hwQ ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline

Definition at line 106 of file cp_annotate.hh.

Referenced by CopyEngine::CopyEngineChannel::anQ(), and IGbE::anQ().

void CPA::hwRq ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline

Definition at line 115 of file cp_annotate.hh.

Referenced by IGbE::anRq().

void CPA::hwWe ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline
void CPA::hwWf ( flags  f,
System sys,
uint64_t  frame,
std::string  sm,
std::string  q,
uint64_t  qid,
System q_sys = NULL,
int32_t  count = 1 
)
inline

Definition at line 118 of file cp_annotate.hh.

Referenced by IGbE::anWf().

void CPA::swAq ( ThreadContext tc)
inline

Definition at line 99 of file cp_annotate.hh.

void CPA::swAutoBegin ( ThreadContext tc,
Addr  next_pc 
)
inline
void CPA::swDq ( ThreadContext tc)
inline

Definition at line 93 of file cp_annotate.hh.

void CPA::swEnd ( ThreadContext tc)
inline

Definition at line 91 of file cp_annotate.hh.

void CPA::swExplictBegin ( ThreadContext tc)
inline

Definition at line 89 of file cp_annotate.hh.

uint64_t CPA::swGetId ( ThreadContext tc)
inline

Definition at line 102 of file cp_annotate.hh.

void CPA::swIdentify ( ThreadContext tc)
inline

Definition at line 101 of file cp_annotate.hh.

void CPA::swLink ( ThreadContext tc)
inline

Definition at line 100 of file cp_annotate.hh.

void CPA::swPq ( ThreadContext tc)
inline

Definition at line 94 of file cp_annotate.hh.

void CPA::swQ ( ThreadContext tc)
inline

Definition at line 92 of file cp_annotate.hh.

void CPA::swRq ( ThreadContext tc)
inline

Definition at line 95 of file cp_annotate.hh.

void CPA::swSmBegin ( ThreadContext tc)
inline

Definition at line 87 of file cp_annotate.hh.

void CPA::swSmEnd ( ThreadContext tc)
inline

Definition at line 88 of file cp_annotate.hh.

void CPA::swSq ( ThreadContext tc)
inline

Definition at line 98 of file cp_annotate.hh.

void CPA::swSyscallLink ( ThreadContext tc)
inline

Definition at line 103 of file cp_annotate.hh.

void CPA::swWe ( ThreadContext tc)
inline

Definition at line 97 of file cp_annotate.hh.

void CPA::swWf ( ThreadContext tc)
inline

Definition at line 96 of file cp_annotate.hh.


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

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