OpenCSD - CoreSight Trace Decode Library  0.5
Classes | Functions
Gen_trc_elem

Classes

class  OcsdTraceElement
 Generic trace element class. More...
 

Functions

 OcsdTraceElement::OcsdTraceElement (ocsd_gen_trc_elem_t type)
 
 OcsdTraceElement::OcsdTraceElement ()
 
void OcsdTraceElement::setCycleCount (const uint32_t cycleCount)
 
void OcsdTraceElement::setEvent (const event_t ev_type, const uint16_t number)
 
void OcsdTraceElement::setAddrRange (const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr)
 
void OcsdTraceElement::setLastInstrInfo (const bool exec, const ocsd_instr_type last_i_type, const ocsd_instr_subtype last_i_subtype)
 
void OcsdTraceElement::setType (const ocsd_gen_trc_elem_t type)
 set type and init flags More...
 
void OcsdTraceElement::updateType (const ocsd_gen_trc_elem_t type)
 change type only - no init More...
 
void OcsdTraceElement::init ()
 
void OcsdTraceElement::setTraceOnReason (const trace_on_reason_t reason)
 
void OcsdTraceElement::setISA (const ocsd_isa isa_update)
 
void OcsdTraceElement::setTS (const uint64_t ts, const bool freqChange=false)
 
void OcsdTraceElement::setExtendedDataPtr (const void *data_ptr)
 

Detailed Description

Function Documentation

◆ init()

void OcsdTraceElement::init ( )
inline

Definition at line 151 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ OcsdTraceElement() [1/2]

OcsdTraceElement::OcsdTraceElement ( )
inline

Definition at line 108 of file trc_gen_elem.h.

◆ OcsdTraceElement() [2/2]

OcsdTraceElement::OcsdTraceElement ( ocsd_gen_trc_elem_t  type)
inline

Definition at line 103 of file trc_gen_elem.h.

◆ setAddrRange()

void OcsdTraceElement::setAddrRange ( const ocsd_vaddr_t  st_addr,
const ocsd_vaddr_t  en_addr 
)
inline

Definition at line 125 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setCycleCount()

void OcsdTraceElement::setCycleCount ( const uint32_t  cycleCount)
inline

Definition at line 113 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setEvent()

void OcsdTraceElement::setEvent ( const event_t  ev_type,
const uint16_t  number 
)
inline

Definition at line 119 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setExtendedDataPtr()

void OcsdTraceElement::setExtendedDataPtr ( const void *  data_ptr)
inline

Definition at line 195 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setISA()

void OcsdTraceElement::setISA ( const ocsd_isa  isa_update)
inline

Definition at line 181 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setLastInstrInfo()

void OcsdTraceElement::setLastInstrInfo ( const bool  exec,
const ocsd_instr_type  last_i_type,
const ocsd_instr_subtype  last_i_subtype 
)
inline

Definition at line 131 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setTraceOnReason()

void OcsdTraceElement::setTraceOnReason ( const trace_on_reason_t  reason)
inline

Definition at line 176 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setTS()

void OcsdTraceElement::setTS ( const uint64_t  ts,
const bool  freqChange = false 
)
inline

Definition at line 188 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ setType()

void OcsdTraceElement::setType ( const ocsd_gen_trc_elem_t  type)
inline

set type and init flags

Definition at line 138 of file trc_gen_elem.h.

Here is the caller graph for this function:

◆ updateType()

void OcsdTraceElement::updateType ( const ocsd_gen_trc_elem_t  type)
inline

change type only - no init

Definition at line 146 of file trc_gen_elem.h.

Here is the caller graph for this function: