MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetNumberOfThreads

Method GetNumberOfThreads

source/run/src/G4TaskRunManager.cc:208–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206//============================================================================//
207
208G4int G4TaskRunManager::GetNumberOfThreads() const
209{
210 // If the ThreadPool isn't initialized, it will return 0 even if we've already
211 // set nworkers
212 return poolInitialized ? PTL::TaskRunManager::GetNumberOfThreads() : nworkers;
213}
214
215//============================================================================//
216

Callers 15

GetCurrentValueMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36