MCPcopy Create free account
hub / github.com/OAID/Tengine / GetExecStatus

Method GetExecStatus

core/lib/graph_executor.cpp:505–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505int GraphExecutor::GetExecStatus(void)
506{
507 const exec_status_t& ret = exec_engine_->GetStatus(exec_handle_);
508
509 int code = exec_engine_->GetStatusCode(ret);
510
511 if(code < 0)
512 {
513 set_tengine_errno(EFAULT);
514 return -1;
515 }
516
517 return MapExecStatus(code);
518}
519
520bool GraphExecutor::SetEventHook(int event, event_handler_t cb_func, void* cb_arg)
521{

Callers 1

get_graph_exec_statusFunction · 0.80

Calls 4

set_tengine_errnoFunction · 0.85
MapExecStatusFunction · 0.85
GetStatusCodeMethod · 0.80
GetStatusMethod · 0.45

Tested by

no test coverage detected