34 #ifndef ARM_TRC_GEN_ELEM_H_INCLUDED
35 #define ARM_TRC_GEN_ELEM_H_INCLUDED
68 void setTS(
const uint64_t ts,
const bool freqChange =
false);
102 void printSWInfoPkt(std::ostringstream &oss)
const;
103 void clearPerPktData();
175 inline void OcsdTraceElement::clearPerPktData()
Generic trace element class.
OcsdTraceElement & operator=(const ocsd_generic_trace_elem *p_elem)
void setTransactionType(const trace_memtrans_t trans)
virtual ~OcsdTraceElement()
virtual void toString(std::string &str) const
void setAddrStart(const ocsd_vaddr_t st_addr)
void setContext(const ocsd_pe_context &new_context)
const ocsd_pe_context & getContext() const
const ocsd_gen_trc_elem_t getType() const
void setSWTInfo(const ocsd_swt_info_t swt_info)
void setExceptionNum(uint32_t excepNum)
void setLastInstrCond(const int is_cond)
Class to provide trace element strings for printing.
enum _trace_on_reason_t trace_on_reason_t
void setLastInstrInfo(const bool exec, const ocsd_instr_type last_i_type, const ocsd_instr_subtype last_i_subtype, const uint8_t size)
enum _unsync_info_t unsync_info_t
void setAddrRange(const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr, const int num_instr=1)
void setCycleCount(const uint32_t cycleCount)
void setType(const ocsd_gen_trc_elem_t type)
set type and init flags
void updateType(const ocsd_gen_trc_elem_t type)
change type only - no init
void setEvent(const event_t ev_type, const uint16_t number)
enum _memtrans_t trace_memtrans_t
void setTS(const uint64_t ts, const bool freqChange=false)
void setISA(const ocsd_isa isa_update)
void setSyncMarker(const trace_marker_payload_t &marker)
void setUnSyncEOTReason(const unsync_info_t reason)
enum _ocsd_gen_trc_elem_t ocsd_gen_trc_elem_t
void setTraceOnReason(const trace_on_reason_t reason)
void copyPersistentData(const OcsdTraceElement &src)
void setExtendedDataPtr(const void *data_ptr)
@ OCSD_GEN_TRC_ELEM_UNKNOWN
enum _ocsd_instr_subtype ocsd_instr_subtype
enum _ocsd_instr_type ocsd_instr_type
uint32_t excep_data_marker
trace_marker_payload_t sync_marker
trace_memtrans_t mem_trans
uint32_t exception_number
ocsd_instr_subtype last_i_subtype
const void * ptr_extended_data
trace_event_t trace_event
ocsd_swt_info_t sw_trace_info
trace_on_reason_t trace_on_reason
unsync_info_t unsync_eot_info
ocsd_gen_trc_elem_t elem_type
ocsd_instr_type last_i_type
OpenCSD : Decoder Output Generic Element types.
OpenCSD : Standard printable element base class.