|
ONE - On-device Neural Engine
|
#include <ExecutionObservers.h>

Public Member Functions | |
| TracingObserver (const std::string &workspace_dir, const ir::Graph &graph, const util::TracingCtx *tracing_ctx) | |
| ~TracingObserver () | |
| void | handleSubgraphBegin (std::pair< ir::ModelIndex, ir::SubgraphIndex >) override |
| Invoked just before model (not individual operation) execution begins. | |
| void | handleJobBegin (IExecutor *, std::pair< ir::ModelIndex, ir::SubgraphIndex >, ir::OperationIndex, const backend::Backend *) override |
| void | handleJobEnd (IExecutor *, std::pair< ir::ModelIndex, ir::SubgraphIndex >, ir::OperationIndex, const backend::Backend *) override |
| void | handleSubgraphEnd (std::pair< ir::ModelIndex, ir::SubgraphIndex >) override |
| Invoked just after model (not individual operation) execution ends. | |
| ObserverType | type () const override |
Public Member Functions inherited from onert::exec::IExecutionObserver | |
| virtual | ~IExecutionObserver ()=default |
Definition at line 104 of file ExecutionObservers.h.
| onert::exec::TracingObserver::TracingObserver | ( | const std::string & | workspace_dir, |
| const ir::Graph & | graph, | ||
| const util::TracingCtx * | tracing_ctx | ||
| ) |
Definition at line 117 of file ExecutionObservers.cc.
| onert::exec::TracingObserver::~TracingObserver | ( | ) |
Definition at line 125 of file ExecutionObservers.cc.
References EventWriter::get().
|
overridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 151 of file ExecutionObservers.cc.
References onert::util::ObjectManager< Index, Object >::at(), EventCollector::BEGIN, onert::backend::Backend::config(), onert::ir::IOperation::name(), EventCollector::onEvent(), onert::ir::Graph::operations(), and onert::util::Index< T, DummyTag >::value().
|
overridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 165 of file ExecutionObservers.cc.
References onert::util::ObjectManager< Index, Object >::at(), onert::backend::Backend::config(), EventCollector::END, EventCollector::onEvent(), onert::ir::Graph::operations(), and onert::util::Index< T, DummyTag >::value().
|
overridevirtual |
Invoked just before model (not individual operation) execution begins.
Reimplemented from onert::exec::IExecutionObserver.
Definition at line 143 of file ExecutionObservers.cc.
References EventCollector::BEGIN, and EventCollector::onEvent().
|
overridevirtual |
Invoked just after model (not individual operation) execution ends.
Reimplemented from onert::exec::IExecutionObserver.
Definition at line 174 of file ExecutionObservers.cc.
References EventCollector::END, and EventCollector::onEvent().
|
inlineoverridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 116 of file ExecutionObservers.h.
References onert::exec::TRACING.