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

Method ApplyOpenMPSettings

src/Settings.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void Settings::ApplyOpenMPSettings()
34{
35 const int requested_threads = EffectiveOMPThreads();
36 if (applied_omp_threads != requested_threads) {
37 omp_set_num_threads(requested_threads);
38 applied_omp_threads = requested_threads;
39 }
40}
41
42// Create or Get an instance of the settings singleton
43Settings *Settings::Instance()

Callers 2

InstanceMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected