MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / call_back

Function call_back

core/predictor/framework/dag_view.cpp:251–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void* call_back(void* ori_args) {
252 Resource::instance().thread_initialize();
253 Args* args = (Args*)ori_args;
254 Op* op = static_cast<Op*>(args->_op);
255 uint64_t log_id = static_cast<uint64_t>(args->_log_id);
256 bool debug = static_cast<bool>(args->_debug);
257 args->errcode = op->process(log_id, debug);
258 return nullptr;
259}
260
261int ParallelDagView::execute_one_stage(ViewStage* vstage,
262 const uint64_t log_id,

Callers

nothing calls this directly

Calls 2

thread_initializeMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected