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

Method GetDevExecutorNum

executor/lib/dev_executor.cpp:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111int DevExecutorManager::GetDevExecutorNum(void)
112{
113 auto manager = GetInstance();
114 manager->Lock();
115
116 int number = manager->size();
117
118 manager->Unlock();
119
120 return number;
121}
122
123} // namespace TEngine

Callers

nothing calls this directly

Calls 3

LockMethod · 0.45
sizeMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected