OpenCSD - CoreSight Trace Decode Library
1.3.3
|
#include <trc_pkt_elem_ptm.h>
Public Member Functions | |
PtmTrcPacket () | |
~PtmTrcPacket () | |
PtmTrcPacket & | operator= (const ocsd_ptm_pkt *p_pkt) |
virtual const void * | c_pkt () const |
return the underlying C API packet structure More... | |
void | Clear () |
clear update data in packet ready for new one. More... | |
void | ResetState () |
reset intra packet state data - on full decoder reset. More... | |
void | SetType (const ocsd_ptm_pkt_type p_type) |
void | SetErrType (const ocsd_ptm_pkt_type e_type) |
void | SetException (const ocsd_armv7_exception type, const uint16_t number) |
void | SetISyncReason (const ocsd_iSync_reason reason) |
void | SetCycleCount (const uint32_t cycleCount) |
void | SetAtomFromPHdr (const uint8_t pHdr) |
void | SetCycleAccAtomFromPHdr (const uint8_t pHdr) |
void | UpdateAddress (const ocsd_vaddr_t partAddrVal, const int updateBits) |
void | UpdateNS (const int NS) |
void | UpdateAltISA (const int AltISA) |
void | UpdateHyp (const int Hyp) |
void | UpdateISA (const ocsd_isa isa) |
void | UpdateContextID (const uint32_t contextID) |
void | UpdateVMID (const uint8_t VMID) |
void | UpdateTimestamp (const uint64_t tsVal, const uint8_t updateBits) |
const bool | isBadPacket () const |
const ocsd_ptm_pkt_type | getType () const |
const ocsd_isa | getISA () const |
const bool | ISAChanged () const |
const uint8_t | getAltISA () const |
const uint8_t | getNS () const |
const uint8_t | getHyp () const |
const ocsd_vaddr_t | getAddrVal () const |
const bool | CtxtIDUpdated () const |
const bool | VMIDUpdated () const |
const uint32_t | getCtxtID () const |
const uint8_t | getVMID () const |
const bool | PEContextUpdated () const |
const ocsd_pkt_atom & | getAtom () const |
const bool | isBranchExcepPacket () const |
const ocsd_armv7_exception | excepType () const |
const uint16_t | excepNum () const |
const ocsd_iSync_reason | iSyncReason () const |
const bool | hasCC () const |
const uint32_t | getCCVal () const |
virtual void | toString (std::string &str) const |
virtual void | toStringFmt (const uint32_t fmtFlags, std::string &str) const |
![]() | |
TrcPacketBase () | |
virtual | ~TrcPacketBase () |
Additional Inherited Members | |
![]() | |
ocsd_ptm_pkt_type | type |
ocsd_isa | curr_isa |
ocsd_isa | prev_isa |
ocsd_pkt_vaddr | addr |
ptm_context_t | context |
ocsd_pkt_atom | atom |
ocsd_iSync_reason | i_sync_reason |
uint32_t | cycle_count |
uint8_t | cc_valid |
uint64_t | timestamp |
uint8_t | ts_update_bits |
ocsd_ptm_excep | exception |
ocsd_ptm_pkt_type | err_type |
Definition at line 48 of file trc_pkt_elem_ptm.h.
PtmTrcPacket::PtmTrcPacket | ( | ) |
PtmTrcPacket::~PtmTrcPacket | ( | ) |
|
inlinevirtual |
return the underlying C API packet structure
Implements TrcPacketBase.
Definition at line 56 of file trc_pkt_elem_ptm.h.
void PtmTrcPacket::Clear | ( | ) |
clear update data in packet ready for new one.
|
inline |
Definition at line 99 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 111 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 110 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 96 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 91 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 106 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 118 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 101 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 93 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 92 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 102 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 117 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 90 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 109 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 114 of file trc_pkt_elem_ptm.h.
PtmTrcPacket& PtmTrcPacket::operator= | ( | const ocsd_ptm_pkt * | p_pkt | ) |
|
inline |
Definition at line 103 of file trc_pkt_elem_ptm.h.
void PtmTrcPacket::ResetState | ( | ) |
reset intra packet state data - on full decoder reset.
void PtmTrcPacket::SetAtomFromPHdr | ( | const uint8_t | pHdr | ) |
void PtmTrcPacket::SetCycleAccAtomFromPHdr | ( | const uint8_t | pHdr | ) |
|
virtual |
Reimplemented from trcPrintableElem.
|
virtual |
Reimplemented from trcPrintableElem.
void PtmTrcPacket::UpdateAddress | ( | const ocsd_vaddr_t | partAddrVal, |
const int | updateBits | ||
) |
void PtmTrcPacket::UpdateTimestamp | ( | const uint64_t | tsVal, |
const uint8_t | updateBits | ||
) |
|
inline |
Definition at line 100 of file trc_pkt_elem_ptm.h.