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

Method MaxAllowedThreads

src/Settings.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28int Settings::MaxAllowedThreads() const
29{
30 return std::max(2, std::max(2, omp_get_num_procs()) * 3);
31}
32
33void Settings::ApplyOpenMPSettings()
34{

Callers 1

Settings.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected