Public Member Functions | |
void | asyncWork (edm::StreamID id, edm::WaitingTaskWithArenaHolder iTask, long initTime, long workTime, long finishTime) |
SleepingServer (edm::ParameterSet const &iPS, edm::ActivityRegistry &iAR) | |
Private Member Functions | |
bool | readyToDoSomething () |
void | threadWork () |
Private Attributes | |
std::atomic< unsigned int > | activeStreams_ {0} |
std::condition_variable | condition_ |
std::mutex | mutex_ |
const unsigned int | nWaitingEvents_ |
std::unique_ptr< std::thread > | serverThread_ |
std::atomic< bool > | stopProcessing_ {false} |
std::vector< int > | waitingStreams_ |
std::vector< edm::WaitingTaskWithArenaHolder > | waitingTaskPerStream_ |
std::vector< std::array< long, 3 > > | waitTimesPerStream_ |
Definition at line 185 of file TimeStudyModules.cc.
|
inline |
Definition at line 187 of file TimeStudyModules.cc.
References activeStreams_, condition_, edm::service::SystemBounds::maxNumberOfStreams(), serverThread_, stopProcessing_, threadWork(), waitingStreams_, waitingTaskPerStream_, waitTimesPerStream_, edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreEndJob(), edm::ActivityRegistry::watchPreStreamBeginLumi(), and edm::ActivityRegistry::watchPreStreamEndLumi().
|
inline |
Definition at line 210 of file TimeStudyModules.cc.
References condition_, eostools::move(), mutex_, relativeConstraints::value, waitingStreams_, waitingTaskPerStream_, and waitTimesPerStream_.
|
inlineprivate |
Definition at line 222 of file TimeStudyModules.cc.
References activeStreams_, nWaitingEvents_, stopProcessing_, and waitingStreams_.
Referenced by threadWork().
|
inlineprivate |
Definition at line 233 of file TimeStudyModules.cc.
References condition_, mps_fire::i, mutex_, readyToDoSomething(), stopProcessing_, edm::swap(), findQualityFiles::v, waitingStreams_, waitingTaskPerStream_, and waitTimesPerStream_.
Referenced by SleepingServer().
|
private |
Definition at line 272 of file TimeStudyModules.cc.
Referenced by readyToDoSomething(), and SleepingServer().
|
private |
Definition at line 271 of file TimeStudyModules.cc.
Referenced by asyncWork(), upgradeWorkflowComponents.UpgradeWorkflowTracking::condition(), SleepingServer(), and threadWork().
|
private |
Definition at line 270 of file TimeStudyModules.cc.
Referenced by asyncWork(), and threadWork().
|
private |
Definition at line 265 of file TimeStudyModules.cc.
Referenced by readyToDoSomething().
|
private |
Definition at line 266 of file TimeStudyModules.cc.
Referenced by SleepingServer().
|
private |
Definition at line 273 of file TimeStudyModules.cc.
Referenced by readyToDoSomething(), SleepingServer(), and threadWork().
|
private |
Definition at line 267 of file TimeStudyModules.cc.
Referenced by asyncWork(), readyToDoSomething(), SleepingServer(), and threadWork().
|
private |
Definition at line 269 of file TimeStudyModules.cc.
Referenced by asyncWork(), SleepingServer(), and threadWork().
|
private |
Definition at line 268 of file TimeStudyModules.cc.
Referenced by asyncWork(), SleepingServer(), and threadWork().