16 auto const& ops =
pset.getUntrackedParameterSet(
"options");
17 if (ops.existsAs<
unsigned int>(
"numberOfThreads",
false)) {
18 threadsInfo.
nThreads_ = ops.getUntrackedParameter<
unsigned int>(
"numberOfThreads");
20 if (ops.existsAs<
unsigned int>(
"sizeOfStackForThreadsInKB",
false)) {
21 threadsInfo.
stackSize_ = ops.getUntrackedParameter<
unsigned int>(
"sizeOfStackForThreadsInKB");
30 newOp =
pset.getUntrackedParameterSet(
"options");
void setThreadOptions(ThreadsInfo const &threadsInfo, edm::ParameterSet &pset)
void addUntrackedParameter(std::string const &name, T const &value)
ThreadsInfo threadOptions(edm::ParameterSet const &pset)