ONE - On-device Neural Engine
|
Class to maintain information about profiling per session. More...
#include <TracingCtx.h>
Public Member Functions | |
TracingCtx (void) | |
Create and store unique session id managed by this class. | |
uint32_t | getSessionId () const |
bool | hasMultipleSessions () const |
Return true if more than 1 session exist. | |
void | setSubgraphIndex (const ir::Graph *g, uint32_t index) |
Set subgraph index of a graph. | |
ir::SubgraphIndex | getSubgraphIndex (const ir::Graph *g) const |
Get subgraph index of a graph. | |
Class to maintain information about profiling per session.
Definition at line 35 of file TracingCtx.h.
|
inline |
Create and store unique session id managed by this class.
Definition at line 42 of file TracingCtx.h.
|
inline |
Definition at line 44 of file TracingCtx.h.
|
inline |
Get subgraph index of a graph.
Definition at line 61 of file TracingCtx.h.
Referenced by onert::exec::DataflowExecutor::executeImpl(), onert::exec::LinearExecutor::executeImpl(), and onert::exec::ParallelExecutor::executeImpl().
|
inline |
Return true if more than 1 session exist.
Definition at line 51 of file TracingCtx.h.
|
inline |
Set subgraph index of a graph.
Definition at line 56 of file TracingCtx.h.