MCPcopy Create free account
hub / github.com/alibaba/MNN / _runSessionEnd

Function _runSessionEnd

source/core/Interpreter.cpp:419–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 }
418}
419static void _runSessionEnd(const Session* session) {
420 auto& rt = session->getRuntime();
421 for (auto& iter : rt.first) {
422 iter.second->onConcurrencyEnd();
423 }
424}
425
426ErrorCode Interpreter::runSession(Session* session) const {
427 std::unique_lock<std::mutex> _l(mNet->lock);

Callers 2

runSessionMethod · 0.85

Calls 2

getRuntimeMethod · 0.45
onConcurrencyEndMethod · 0.45

Tested by

no test coverage detected