OpenCSD - CoreSight Trace Decode Library
0.12.1
|
Go to the documentation of this file.
63 void initCSID(
const uint8_t CSID) { m_CSID = CSID; };
86 const int getAdjustedIdx(
int idxIn)
const;
90 typedef struct _elemPtr {
95 elemPtr_t *m_pElemArray;
107 inline const int OcsdGenElemList::getAdjustedIdx(
int idxIn)
const
109 if(idxIn >= m_elemArraySize)
110 idxIn -= m_elemArraySize;
139 m_numUsed -= m_numPend;
150 m_sendIf = pGenElemIf;
void cancelPendElem()
cancel the last pended element on the stack.
Generic trace element class.
void commitAllPendElem()
commit all pended elements.
const int numPendElem() const
return the number of pended elements.
OcsdTraceElement * getNextElem(const ocsd_trc_index_t trc_pkt_idx)
get next free element on the stack (add one to the output)
OpenCSD : Decoder Generic trace element output class.
enum _ocsd_gen_trc_elem_t ocsd_gen_trc_elem_t
void pendLastNElem(int numPend)
Last element to be pended prior to cancel/commit decision.
void initCSID(const uint8_t CSID)
void initSendIf(componentAttachPt< ITrcGenElemIn > *pGenElemIf)
const int getNumElem() const
return the total number of elements on the stack (inlcuding any pended ones).
uint32_t ocsd_trc_index_t
OpenCSD : Component attachment point interface class.
const ocsd_gen_trc_elem_t getElemType(const int entryN) const
get the type for the nth element in the stack (0 indexed)
const bool elemToSend() const
true if any none-pending elements left to send.
ocsd_datapath_resp_t sendElements()
enum _ocsd_datapath_resp_t ocsd_datapath_resp_t
Maintain a list of elements to be output.
void reset()
reset the element list.