ONE - On-device Neural Engine
Loading...
Searching...
No Matches
EventCollector::Event Struct Reference

#include <EventCollector.h>

Collaboration diagram for EventCollector::Event:

Data Fields

const onert::util::TracingCtxtracing_ctx
 
Edge edge
 
uint32_t session_index
 
uint32_t subg_index
 
std::vector< std::pair< std::string, std::string > > userData
 

Protected Member Functions

 Event (const onert::util::TracingCtx *a_tracing_ctx, Edge a_edge, uint32_t a_subg_index)
 
virtual ~Event ()=default
 

Detailed Description

Definition at line 55 of file EventCollector.h.

Constructor & Destructor Documentation

◆ Event()

EventCollector::Event::Event ( const onert::util::TracingCtx a_tracing_ctx,
Edge  a_edge,
uint32_t  a_subg_index 
)
inlineprotected

Definition at line 67 of file EventCollector.h.

68 : tracing_ctx(a_tracing_ctx), edge(a_edge), session_index(tracing_ctx->getSessionId()),
69 subg_index(a_subg_index)
70 { /* empty */
71 }
uint32_t getSessionId() const
Definition TracingCtx.h:44
const onert::util::TracingCtx * tracing_ctx

◆ ~Event()

virtual EventCollector::Event::~Event ( )
protectedvirtualdefault

Field Documentation

◆ edge

Edge EventCollector::Event::edge

Definition at line 59 of file EventCollector.h.

◆ session_index

uint32_t EventCollector::Event::session_index

Definition at line 60 of file EventCollector.h.

◆ subg_index

uint32_t EventCollector::Event::subg_index

Definition at line 61 of file EventCollector.h.

◆ tracing_ctx

const onert::util::TracingCtx* EventCollector::Event::tracing_ctx

Definition at line 57 of file EventCollector.h.

◆ userData

std::vector<std::pair<std::string, std::string> > EventCollector::Event::userData

Definition at line 64 of file EventCollector.h.


The documentation for this struct was generated from the following file: