gem5  v20.0.0.3
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, Addr sm_string, int32_t sm_id, int32_t flags)
 
void swSmEnd (ThreadContext *tc, Addr sm_string)
 
void swExplictBegin (ThreadContext *tc, int32_t flags, Addr st_string)
 
void swAutoBegin (ThreadContext *tc, Addr next_pc)
 
void swEnd (ThreadContext *tc)
 
void swQ (ThreadContext *tc, Addr id, Addr q_string, int32_t count)
 
void swDq (ThreadContext *tc, Addr id, Addr q_string, int32_t count)
 
void swPq (ThreadContext *tc, Addr id, Addr q_string, int32_t count)
 
void swRq (ThreadContext *tc, Addr id, Addr q_string, int32_t count)
 
void swWf (ThreadContext *tc, Addr id, Addr q_string, Addr sm_string, int32_t count)
 
void swWe (ThreadContext *tc, Addr id, Addr q_string, Addr sm_string, int32_t count)
 
void swSq (ThreadContext *tc, Addr id, Addr q_string, int32_t size, int32_t flags)
 
void swAq (ThreadContext *tc, Addr id, Addr q_string, int32_t size)
 
void swLink (ThreadContext *tc, Addr lsm_string, Addr lsm_id, Addr sm_string)
 
void swIdentify (ThreadContext *tc, Addr smi_string)
 
uint64_t swGetId (ThreadContext *tc)
 
void swSyscallLink (ThreadContext *tc, Addr lsm_string, Addr sm_string)
 
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 69 of file cp_annotate.hh.

Member Enumeration Documentation

◆ flags

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

Definition at line 72 of file cp_annotate.hh.

Member Function Documentation

◆ available()

static bool CPA::available ( )
inlinestatic

◆ cpa()

static CPA* CPA::cpa ( )
inlinestatic

◆ enabled()

bool CPA::enabled ( )
inline

Definition at line 84 of file cp_annotate.hh.

Referenced by IGbE::ethRxPkt(), and hwWe().

◆ hwBegin()

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

Definition at line 114 of file cp_annotate.hh.

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

◆ hwDq()

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

◆ hwPq()

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 122 of file cp_annotate.hh.

Referenced by IGbE::anPq(), and hwWe().

◆ hwQ()

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 116 of file cp_annotate.hh.

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

◆ hwRq()

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 125 of file cp_annotate.hh.

Referenced by IGbE::anRq(), and hwWe().

◆ hwWe()

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

◆ hwWf()

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 128 of file cp_annotate.hh.

Referenced by IGbE::anWf(), and hwWe().

◆ swAq()

void CPA::swAq ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  size 
)
inline

Definition at line 106 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swAutoBegin()

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

◆ swDq()

void CPA::swDq ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  count 
)
inline

Definition at line 94 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swEnd()

void CPA::swEnd ( ThreadContext tc)
inline

Definition at line 91 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swExplictBegin()

void CPA::swExplictBegin ( ThreadContext tc,
int32_t  flags,
Addr  st_string 
)
inline

Definition at line 88 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swGetId()

uint64_t CPA::swGetId ( ThreadContext tc)
inline

Definition at line 111 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swIdentify()

void CPA::swIdentify ( ThreadContext tc,
Addr  smi_string 
)
inline

Definition at line 110 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swLink()

void CPA::swLink ( ThreadContext tc,
Addr  lsm_string,
Addr  lsm_id,
Addr  sm_string 
)
inline

Definition at line 108 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swPq()

void CPA::swPq ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  count 
)
inline

Definition at line 96 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swQ()

void CPA::swQ ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  count 
)
inline

Definition at line 92 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swRq()

void CPA::swRq ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  count 
)
inline

Definition at line 98 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swSmBegin()

void CPA::swSmBegin ( ThreadContext tc,
Addr  sm_string,
int32_t  sm_id,
int32_t  flags 
)
inline

Definition at line 85 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swSmEnd()

void CPA::swSmEnd ( ThreadContext tc,
Addr  sm_string 
)
inline

Definition at line 87 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swSq()

void CPA::swSq ( ThreadContext tc,
Addr  id,
Addr  q_string,
int32_t  size,
int32_t  flags 
)
inline

Definition at line 104 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swSyscallLink()

void CPA::swSyscallLink ( ThreadContext tc,
Addr  lsm_string,
Addr  sm_string 
)
inline

Definition at line 112 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swWe()

void CPA::swWe ( ThreadContext tc,
Addr  id,
Addr  q_string,
Addr  sm_string,
int32_t  count 
)
inline

Definition at line 102 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().

◆ swWf()

void CPA::swWf ( ThreadContext tc,
Addr  id,
Addr  q_string,
Addr  sm_string,
int32_t  count 
)
inline

Definition at line 100 of file cp_annotate.hh.

Referenced by hwWe(), and AnnotateDumpCallback::process().


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

Generated on Fri Jul 3 2020 15:53:12 for gem5 by doxygen 1.8.13