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);
85 virtual void toString(std::string &str)
const;
98 void printSWInfoPkt(std::ostringstream &oss)
const;
99 void clearPerPktData();
171 inline void OcsdTraceElement::clearPerPktData()
206 #endif // ARM_TRC_GEN_ELEM_H_INCLUDED ocsd_swt_info_t sw_trace_info
void setLastInstrInfo(const bool exec, const ocsd_instr_type last_i_type, const ocsd_instr_subtype last_i_subtype, const uint8_t size)
const void * ptr_extended_data
void setAddrStart(const ocsd_vaddr_t st_addr)
void setEvent(const event_t ev_type, const uint16_t number)
const ocsd_pe_context & getContext() const
void setContext(const ocsd_pe_context &new_context)
uint32_t excep_data_marker
void updateType(const ocsd_gen_trc_elem_t type)
change type only - no init
void setExceptionNum(uint32_t excepNum)
void setAddrRange(const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr, const int num_instr=1)
uint32_t exception_number
OpenCSD : Standard printable element base class.
OcsdTraceElement & operator=(const ocsd_generic_trace_elem *p_elem)
virtual ~OcsdTraceElement()
enum _ocsd_instr_type ocsd_instr_type
ocsd_instr_subtype last_i_subtype
void setISA(const ocsd_isa isa_update)
OpenCSD : Decoder Output Generic Element types.
void setSWTInfo(const ocsd_swt_info_t swt_info)
void setTS(const uint64_t ts, const bool freqChange=false)
Generic trace element class.
enum _ocsd_gen_trc_elem_t ocsd_gen_trc_elem_t
Class to provide trace element strings for printing.
void setTraceOnReason(const trace_on_reason_t reason)
ocsd_instr_type last_i_type
void setCycleCount(const uint32_t cycleCount)
void setExtendedDataPtr(const void *data_ptr)
ocsd_gen_trc_elem_t elem_type
trace_event_t trace_event
enum _ocsd_instr_subtype ocsd_instr_subtype
virtual void toString(std::string &str) const
void setType(const ocsd_gen_trc_elem_t type)
set type and init flags
trace_on_reason_t trace_on_reason
const ocsd_gen_trc_elem_t getType() const
enum _trace_on_reason_t trace_on_reason_t