CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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;
8 
9  constexpr unsigned int s_defaultNumberOfThreads = 1;
10  constexpr unsigned int s_defaultSizeOfStackForThreadsInKB = 10 * 1024; //10MB
11 
12  struct ThreadsInfo {
15  };
16 
18  void setThreadOptions(ThreadsInfo const& threadsInfo, edm::ParameterSet& pset);
19 
20 } // namespace edm
21 #endif
void setThreadOptions(ThreadsInfo const &threadsInfo, edm::ParameterSet &pset)
Definition: ThreadsInfo.cc:27
unsigned int stackSize_
Definition: ThreadsInfo.h:14
constexpr unsigned int s_defaultNumberOfThreads
Definition: ThreadsInfo.h:9
ThreadsInfo threadOptions(edm::ParameterSet const &pset)
Definition: ThreadsInfo.cc:11
constexpr unsigned int s_defaultSizeOfStackForThreadsInKB
Definition: ThreadsInfo.h:10
unsigned int nThreads_
Definition: ThreadsInfo.h:13