MCPcopy Create free account
hub / github.com/Kitware/CMake / GetParallelLevel

Method GetParallelLevel

Source/CTest/cmCTestMultiProcessHandler.cxx:182–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182size_t cmCTestMultiProcessHandler::GetParallelLevel() const
183{
184 if ((this->ParallelLevel && *this->ParallelLevel == 0) ||
185 (!this->ParallelLevel && this->JobServerClient)) {
186 return kParallelLevelUnbounded;
187 }
188 if (this->ParallelLevel) {
189 return *this->ParallelLevel;
190 }
191 return this->ParallelLevelDefault;
192}
193
194void cmCTestMultiProcessHandler::SetTestLoad(unsigned long load)
195{

Callers 5

GetProcessorsUsedMethod · 0.95
StartNextTestsMethod · 0.95
ReadCostDataMethod · 0.95
CreateTestCostListMethod · 0.95
ProcessDirectoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected