Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #738 from Dr15Jones/sendPreallocateToServices
Added preallocate signal for Services
- Loading branch information
Showing
4 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#ifndef FWCore_ServiceRegistry_SystemBounds_h | ||
#define FWCore_ServiceRegistry_SystemBounds_h | ||
// -*- C++ -*- | ||
// | ||
// Package: FWCore/ServiceRegistry | ||
// Class : SystemBounds | ||
// | ||
/**\class SystemBounds SystemBounds.h "SystemBounds.h" | ||
Description: [one line class summary] | ||
Usage: | ||
<usage> | ||
*/ | ||
// | ||
// Original Author: Chris Jones | ||
// Created: Sun, 08 Sep 2013 16:16:25 GMT | ||
// | ||
|
||
// system include files | ||
|
||
// user include files | ||
|
||
// forward declarations | ||
|
||
namespace edm { | ||
namespace service { | ||
class SystemBounds | ||
{ | ||
|
||
public: | ||
SystemBounds(unsigned int iNStreams, | ||
unsigned int iNLumis, | ||
unsigned int iNRuns) : | ||
m_nStreams(iNStreams), | ||
m_nLumis(iNLumis), | ||
m_nRuns(iNRuns) {} | ||
|
||
// ---------- const member functions --------------------- | ||
unsigned int maxNumberOfStreams() const {return m_nStreams; } | ||
unsigned int maxNumberOfConcurrentRuns() const {return m_nRuns;} | ||
unsigned int maxNumberOfConcurrentLuminosityBlocks() const {return m_nLumis;} | ||
|
||
private: | ||
|
||
// ---------- member data -------------------------------- | ||
unsigned int m_nStreams; | ||
unsigned int m_nLumis; | ||
unsigned int m_nRuns; | ||
}; | ||
|
||
} | ||
} | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters