FWCore
ParameterSet
interface
ThreadsInfo.h
Go to the documentation of this file.
1
#ifndef FWCore_ParameterSet_ThreadsInfo_h
2
#define FWCore_ParameterSet_ThreadsInfo_h
3
4
namespace
edm
{
5
6
class
ParameterSet
;
7
class
ParameterSetDescription
;
8
9
constexpr
unsigned
int
s_defaultNumberOfThreads
= 1;
10
constexpr
unsigned
int
s_defaultSizeOfStackForThreadsInKB
= 10 * 1024;
//10MB
11
12
struct
ThreadsInfo
{
13
unsigned
int
nThreads_
=
s_defaultNumberOfThreads
;
14
unsigned
int
stackSize_
=
s_defaultSizeOfStackForThreadsInKB
;
15
};
16
17
ThreadsInfo
threadOptions
(
edm::ParameterSet
const
&
pset
);
18
void
setThreadOptions
(
ThreadsInfo
const
& threadsInfo,
edm::ParameterSet
&
pset
);
19
20
}
// namespace edm
21
#endif
edm::setThreadOptions
void setThreadOptions(ThreadsInfo const &threadsInfo, edm::ParameterSet &pset)
Definition:
ThreadsInfo.cc:27
ParameterSetDescription
ParameterSet
Definition:
Functions.h:16
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::ThreadsInfo
Definition:
ThreadsInfo.h:12
edm::ThreadsInfo::stackSize_
unsigned int stackSize_
Definition:
ThreadsInfo.h:14
edm::s_defaultNumberOfThreads
constexpr unsigned int s_defaultNumberOfThreads
Definition:
ThreadsInfo.h:9
edm::threadOptions
ThreadsInfo threadOptions(edm::ParameterSet const &pset)
Definition:
ThreadsInfo.cc:11
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::s_defaultSizeOfStackForThreadsInKB
constexpr unsigned int s_defaultSizeOfStackForThreadsInKB
Definition:
ThreadsInfo.h:10
edm::ThreadsInfo::nThreads_
unsigned int nThreads_
Definition:
ThreadsInfo.h:13
Generated for CMSSW Reference Manual by
1.8.14