MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / EffectiveOMPThreads

Method EffectiveOMPThreads

src/Settings.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21Settings *Settings::m_pInstance = nullptr;
22
23int Settings::EffectiveOMPThreads() const
24{
25 return std::clamp(OMP_THREADS, 2, MaxAllowedThreads());
26}
27
28int Settings::MaxAllowedThreads() const
29{

Callers 1

Settings.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected