CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::PreallocationConfiguration Class Reference

#include "PreallocationConfiguration.h"

Public Member Functions

unsigned int numberOfLuminosityBlocks () const
 
unsigned int numberOfRuns () const
 
unsigned int numberOfStreams () const
 
unsigned int numberOfThreads () const
 
 PreallocationConfiguration ()
 
 PreallocationConfiguration (unsigned int iNThreads, unsigned int iNStreams, unsigned int iNLumis, unsigned int iNRuns)
 

Private Attributes

unsigned int m_nLumis
 
unsigned int m_nRuns
 
unsigned int m_nStreams
 
unsigned int m_nthreads
 

Detailed Description

Description: Holds number of simultaneous Streams, LuminosityBlocks and Runs the job will allow.

Usage: <usage>

Definition at line 27 of file PreallocationConfiguration.h.

Constructor & Destructor Documentation

◆ PreallocationConfiguration() [1/2]

edm::PreallocationConfiguration::PreallocationConfiguration ( )
inline

Definition at line 29 of file PreallocationConfiguration.h.

29 : PreallocationConfiguration(1, 1, 1, 1) {}

◆ PreallocationConfiguration() [2/2]

edm::PreallocationConfiguration::PreallocationConfiguration ( unsigned int  iNThreads,
unsigned int  iNStreams,
unsigned int  iNLumis,
unsigned int  iNRuns 
)
inline

Definition at line 30 of file PreallocationConfiguration.h.

31  : m_nthreads(iNThreads), m_nStreams(iNStreams), m_nLumis(iNLumis), m_nRuns(iNRuns) {}

Member Function Documentation

◆ numberOfLuminosityBlocks()

unsigned int edm::PreallocationConfiguration::numberOfLuminosityBlocks ( ) const
inline

◆ numberOfRuns()

unsigned int edm::PreallocationConfiguration::numberOfRuns ( ) const
inline

Definition at line 37 of file PreallocationConfiguration.h.

37 { return m_nRuns; }

References m_nRuns.

Referenced by edm::EventProcessor::beginJob(), and edm::test::TestProcessor::beginJob().

◆ numberOfStreams()

unsigned int edm::PreallocationConfiguration::numberOfStreams ( ) const
inline

◆ numberOfThreads()

unsigned int edm::PreallocationConfiguration::numberOfThreads ( ) const
inline

Member Data Documentation

◆ m_nLumis

unsigned int edm::PreallocationConfiguration::m_nLumis
private

Definition at line 47 of file PreallocationConfiguration.h.

Referenced by numberOfLuminosityBlocks().

◆ m_nRuns

unsigned int edm::PreallocationConfiguration::m_nRuns
private

Definition at line 48 of file PreallocationConfiguration.h.

Referenced by numberOfRuns().

◆ m_nStreams

unsigned int edm::PreallocationConfiguration::m_nStreams
private

Definition at line 46 of file PreallocationConfiguration.h.

Referenced by numberOfStreams().

◆ m_nthreads

unsigned int edm::PreallocationConfiguration::m_nthreads
private

Definition at line 45 of file PreallocationConfiguration.h.

Referenced by numberOfThreads().

edm::PreallocationConfiguration::m_nRuns
unsigned int m_nRuns
Definition: PreallocationConfiguration.h:48
edm::PreallocationConfiguration::PreallocationConfiguration
PreallocationConfiguration()
Definition: PreallocationConfiguration.h:29
edm::PreallocationConfiguration::m_nStreams
unsigned int m_nStreams
Definition: PreallocationConfiguration.h:46
edm::PreallocationConfiguration::m_nthreads
unsigned int m_nthreads
Definition: PreallocationConfiguration.h:45
edm::PreallocationConfiguration::m_nLumis
unsigned int m_nLumis
Definition: PreallocationConfiguration.h:47