The Gaudi Framework  v38r3 (c3fc9673)
AvalancheSchedulerSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIHIVE_AVALANCHESCHEDULERSVC_H
12 #define GAUDIHIVE_AVALANCHESCHEDULERSVC_H
13 
14 // Local includes
15 #include "AlgsExecutionStates.h"
16 #include "EventSlot.h"
17 #include "PrecedenceSvc.h"
18 
19 // Framework include files
22 #include "GaudiKernel/ICondSvc.h"
24 #include "GaudiKernel/IRunable.h"
25 #include "GaudiKernel/IScheduler.h"
27 #include "GaudiKernel/Service.h"
28 
29 // C++ include files
30 #include <functional>
31 #include <queue>
32 #include <string>
33 #include <string_view>
34 #include <thread>
35 #include <unordered_map>
36 #include <vector>
37 
38 // External libs
39 #include "tbb/concurrent_priority_queue.h"
40 #include "tbb/concurrent_queue.h"
41 #include "tbb/task_arena.h"
42 
43 class IAlgorithm;
44 
45 //---------------------------------------------------------------------------
46 
112 class AvalancheSchedulerSvc : public extends<Service, IScheduler> {
113 
114  friend class AlgTask;
115 
116 public:
118  using extends::extends;
119 
121  StatusCode initialize() override;
122 
124  StatusCode finalize() override;
125 
127  StatusCode pushNewEvent( EventContext* eventContext ) override;
128 
129  // Make multiple events available to the scheduler
130  StatusCode pushNewEvents( std::vector<EventContext*>& eventContexts ) override;
131 
133  StatusCode popFinishedEvent( EventContext*& eventContext ) override;
134 
136  StatusCode tryPopFinishedEvent( EventContext*& eventContext ) override;
137 
139  unsigned int freeSlots() override;
140 
142  void dumpState() override;
143 
145  virtual StatusCode scheduleEventView( const EventContext* sourceContext, const std::string& nodeName,
146  std::unique_ptr<EventContext> viewContext ) override;
147 
151  virtual void recordOccupancy( int samplePeriod, std::function<void( OccupancySnapshot )> callback ) override;
152 
153 private:
156 
157  enum ActivationState { INACTIVE = 0, ACTIVE = 1, FAILURE = 2 };
158 
159  // Occupancy snapshot data
161  std::chrono::system_clock::time_point m_lastSnapshot = std::chrono::system_clock::now();
162  std::function<void( OccupancySnapshot )> m_snapshotCallback;
163 
165  this, "ThreadPoolSize", -1,
166  "Size of the global thread pool initialised by TBB; a value of -1 requests to use"
167  "all available hardware threads; -100 requests to bypass TBB executing "
168  "all algorithms in the scheduler's thread." };
170  this, "maxParallelismExtra", 0,
171  "Allows to add some extra threads to the maximum parallelism set in TBB"
172  "The TBB max parallelism is set as: ThreadPoolSize + maxParallelismExtra + 1" };
173  Gaudi::Property<std::string> m_whiteboardSvcName{ this, "WhiteboardSvc", "EventDataSvc", "The whiteboard name" };
175  this, "MaxBlockingAlgosInFlight", 0, "Maximum allowed number of simultaneously running CPU-blocking algorithms" };
177  this, "SimulateExecution", false,
178  "Flag to perform single-pass simulation of execution flow before the actual execution" };
180  "The following modes are currently available: PCE, COD, DRE, E" };
181  Gaudi::Property<bool> m_dumpIntraEventDynamics{ this, "DumpIntraEventDynamics", false,
182  "Dump intra-event concurrency dynamics to csv file" };
184  this, "PreemptiveBlockingTasks", false,
185  "Enable preemptive scheduling of CPU-blocking algorithms. Blocking algorithms must be flagged accordingly." };
186  Gaudi::Property<bool> m_checkDeps{ this, "CheckDependencies", false,
187  "Runtime check of Algorithm Input Data Dependencies" };
188  Gaudi::Property<bool> m_checkOutput{ this, "CheckOutputUsage", false,
189  "Runtime check of Algorithm Output Data usage" };
191  this,
192  "CheckOutputUsageIgnoreList",
193  {},
194  "Ignore outputs of the Algorithms of this name when doing the check",
195  "OrderedSet<std::string>" };
196 
197  Gaudi::Property<std::string> m_useDataLoader{ this, "DataLoaderAlg", "",
198  "Attribute unmet input dependencies to this DataLoader Algorithm" };
199 
200  Gaudi::Property<bool> m_enableCondSvc{ this, "EnableConditions", false, "Enable ConditionsSvc" };
201 
202  Gaudi::Property<bool> m_showDataDeps{ this, "ShowDataDependencies", true,
203  "Show the INPUT and OUTPUT data dependencies of Algorithms" };
204 
205  Gaudi::Property<bool> m_showDataFlow{ this, "ShowDataFlow", false,
206  "Show the configuration of DataFlow between Algorithms" };
207 
208  Gaudi::Property<bool> m_showControlFlow{ this, "ShowControlFlow", false,
209  "Show the configuration of all Algorithms and Sequences" };
210 
211  Gaudi::Property<bool> m_verboseSubSlots{ this, "VerboseSubSlots", false, "Dump algorithm states for all sub-slots" };
212 
213  // Utils and shortcuts ----------------------------------------------------
214 
216  void activate();
217 
220 
223 
226 
228  inline unsigned int algname2index( const std::string& algoname ) { return m_algname_index_map[algoname]; };
229 
232 
234  inline const std::string& index2algname( unsigned int index ) { return m_algname_vect[index]; };
235 
238 
241 
244 
247 
249  std::atomic_int m_freeSlots{ 0 };
250 
252  tbb::concurrent_bounded_queue<EventContext*> m_finishedEvents;
253 
256 
259 
261  unsigned int m_algosInFlight = 0;
262 
264  unsigned int m_blockingAlgosInFlight = 0;
265 
266  // States management ------------------------------------------------------
267 
270 
271  // Update algorithm state and, optionally, revise states of other downstream algorithms
272  StatusCode revise( unsigned int iAlgo, EventContext* contextPtr, AState state, bool iterate = false );
273 
275  struct TaskSpec;
277  StatusCode signoff( const TaskSpec& );
278 
280  bool isStalled( const EventSlot& ) const;
282  void eventFailed( EventContext* eventContext );
283 
285  void dumpSchedulerState( int iSlot );
286 
287  // Algos Management -------------------------------------------------------
288 
291 
292  // Actions management -----------------------------------------------------
293 
295  tbb::concurrent_bounded_queue<action> m_actionsQueue;
296 
298  struct TaskSpec {
300  TaskSpec(){};
301  TaskSpec( IAlgorithm* algPtr, unsigned int algIndex, const std::string& algName, unsigned int algRank,
302  bool blocking, int slotIndex, EventContext* eventContext )
303  : algPtr( algPtr )
304  , algIndex( algIndex )
305  , algName( algName )
306  , algRank( algRank )
307  , blocking( blocking )
308  , slotIndex( slotIndex )
309  , contextPtr( eventContext ){};
311  TaskSpec( const TaskSpec& ) = default;
313  TaskSpec& operator=( const TaskSpec& ) = delete;
315  TaskSpec( TaskSpec&& ) = default;
317  TaskSpec& operator=( TaskSpec&& ) = default;
318 
319  IAlgorithm* algPtr{ nullptr };
320  unsigned int algIndex{ 0 };
321  std::string_view algName;
322  unsigned int algRank{ 0 };
323  bool blocking{ false };
324  int slotIndex{ 0 };
326  };
327 
329  struct AlgQueueSort {
330  bool operator()( const TaskSpec& i, const TaskSpec& j ) const { return ( i.algRank < j.algRank ); }
331  };
332 
334  tbb::concurrent_priority_queue<TaskSpec, AlgQueueSort> m_scheduledQueue;
335  tbb::concurrent_priority_queue<TaskSpec, AlgQueueSort> m_scheduledBlockingQueue;
337 
338  // Prompt the scheduler to call updateStates
340 
341  // ------------------------------------------------------------------------
342 
343  // Service for thread pool initialization
345  tbb::task_arena* m_arena{ nullptr };
346  size_t m_maxEventsInFlight{ 0 };
347  size_t m_maxAlgosInFlight{ 1 };
348 
349 public:
350  // get next schedule-able TaskSpec
351  bool next( TaskSpec& ts, bool blocking = false ) {
352  return blocking ? m_scheduledBlockingQueue.try_pop( ts ) : m_scheduledQueue.try_pop( ts );
353  };
354 };
355 
356 #endif // GAUDIHIVE_AVALANCHESCHEDULERSVC_H
AvalancheSchedulerSvc::m_whiteboard
SmartIF< IHiveWhiteBoard > m_whiteboard
A shortcut to the whiteboard.
Definition: AvalancheSchedulerSvc.h:243
AvalancheSchedulerSvc::TaskSpec::algPtr
IAlgorithm * algPtr
Definition: AvalancheSchedulerSvc.h:319
IAlgResourcePool.h
AvalancheSchedulerSvc::m_useDataLoader
Gaudi::Property< std::string > m_useDataLoader
Definition: AvalancheSchedulerSvc.h:197
std::string
STL class.
AvalancheSchedulerSvc::TaskSpec
Struct to hold entries in the alg queues.
Definition: AvalancheSchedulerSvc.h:298
AvalancheSchedulerSvc::finalize
StatusCode finalize() override
Finalise.
Definition: AvalancheSchedulerSvc.cpp:403
AvalancheSchedulerSvc::TaskSpec::operator=
TaskSpec & operator=(const TaskSpec &)=delete
Assignment operator.
AvalancheSchedulerSvc::m_optimizationMode
Gaudi::Property< std::string > m_optimizationMode
Definition: AvalancheSchedulerSvc.h:179
AvalancheSchedulerSvc::TaskSpec::algRank
unsigned int algRank
Definition: AvalancheSchedulerSvc.h:322
AvalancheSchedulerSvc::ACTIVE
@ ACTIVE
Definition: AvalancheSchedulerSvc.h:157
EventSlot.h
std::vector
STL class.
AvalancheSchedulerSvc::iterate
StatusCode iterate()
Loop on all slots to schedule DATAREADY algorithms and sign off ready events.
Definition: AvalancheSchedulerSvc.cpp:642
EventSlot
Class representing an event slot.
Definition: EventSlot.h:24
std::chrono::duration< int64_t, std::milli >
AvalancheSchedulerSvc::m_lastSnapshot
std::chrono::system_clock::time_point m_lastSnapshot
Definition: AvalancheSchedulerSvc.h:161
std::function
AvalancheSchedulerSvc::m_scheduledQueue
tbb::concurrent_priority_queue< TaskSpec, AlgQueueSort > m_scheduledQueue
Queues for scheduled algorithms.
Definition: AvalancheSchedulerSvc.h:334
AvalancheSchedulerSvc::schedule
StatusCode schedule(TaskSpec &&)
Definition: AvalancheSchedulerSvc.cpp:998
AvalancheSchedulerSvc::ActivationState
ActivationState
Definition: AvalancheSchedulerSvc.h:157
AvalancheSchedulerSvc::m_showControlFlow
Gaudi::Property< bool > m_showControlFlow
Definition: AvalancheSchedulerSvc.h:208
AvalancheSchedulerSvc::m_needsUpdate
std::atomic< bool > m_needsUpdate
Definition: AvalancheSchedulerSvc.h:339
std::queue
STL class.
AlgsExecutionStates.h
AvalancheSchedulerSvc::m_enableCondSvc
Gaudi::Property< bool > m_enableCondSvc
Definition: AvalancheSchedulerSvc.h:200
AvalancheSchedulerSvc::deactivate
StatusCode deactivate()
Deactivate scheduler.
Definition: AvalancheSchedulerSvc.cpp:491
AvalancheSchedulerSvc::m_eventSlots
std::vector< EventSlot > m_eventSlots
Vector of events slots.
Definition: AvalancheSchedulerSvc.h:246
AvalancheSchedulerSvc::m_arena
tbb::task_arena * m_arena
Definition: AvalancheSchedulerSvc.h:345
AvalancheSchedulerSvc::m_algExecStateSvc
SmartIF< IAlgExecStateSvc > m_algExecStateSvc
Algorithm execution state manager.
Definition: AvalancheSchedulerSvc.h:255
AvalancheSchedulerSvc::TaskSpec::algName
std::string_view algName
Definition: AvalancheSchedulerSvc.h:321
AvalancheSchedulerSvc::FAILURE
@ FAILURE
Definition: AvalancheSchedulerSvc.h:157
AvalancheSchedulerSvc::m_condSvc
SmartIF< ICondSvc > m_condSvc
A shortcut to service for Conditions handling.
Definition: AvalancheSchedulerSvc.h:258
AvalancheSchedulerSvc::eventFailed
void eventFailed(EventContext *eventContext)
Method to execute if an event failed.
Definition: AvalancheSchedulerSvc.cpp:835
AvalancheSchedulerSvc::m_threadPoolSize
Gaudi::Property< int > m_threadPoolSize
Definition: AvalancheSchedulerSvc.h:164
IScheduler.h
AvalancheSchedulerSvc::m_maxEventsInFlight
size_t m_maxEventsInFlight
Definition: AvalancheSchedulerSvc.h:346
AvalancheSchedulerSvc::TaskSpec::TaskSpec
TaskSpec()
Default constructor.
Definition: AvalancheSchedulerSvc.h:300
AvalancheSchedulerSvc::m_maxBlockingAlgosInFlight
Gaudi::Property< unsigned int > m_maxBlockingAlgosInFlight
Definition: AvalancheSchedulerSvc.h:174
StatusCode
Definition: StatusCode.h:65
std::thread
STL class.
AvalancheSchedulerSvc::TaskSpec::operator=
TaskSpec & operator=(TaskSpec &&)=default
Move assignment.
PrecedenceSvc.h
AvalancheSchedulerSvc::TaskSpec::blocking
bool blocking
Definition: AvalancheSchedulerSvc.h:323
IAlgorithm
Definition: IAlgorithm.h:38
ProduceConsume.j
j
Definition: ProduceConsume.py:101
AvalancheSchedulerSvc::m_maxParallelismExtra
Gaudi::Property< int > m_maxParallelismExtra
Definition: AvalancheSchedulerSvc.h:169
AvalancheSchedulerSvc::AlgQueueSort::operator()
bool operator()(const TaskSpec &i, const TaskSpec &j) const
Definition: AvalancheSchedulerSvc.h:330
compareRootHistos.ts
ts
Definition: compareRootHistos.py:488
AvalancheSchedulerSvc::m_enablePreemptiveBlockingTasks
Gaudi::Property< bool > m_enablePreemptiveBlockingTasks
Definition: AvalancheSchedulerSvc.h:183
AvalancheSchedulerSvc::m_whiteboardSvcName
Gaudi::Property< std::string > m_whiteboardSvcName
Definition: AvalancheSchedulerSvc.h:173
AvalancheSchedulerSvc
Definition: AvalancheSchedulerSvc.h:112
AvalancheSchedulerSvc::m_checkOutput
Gaudi::Property< bool > m_checkOutput
Definition: AvalancheSchedulerSvc.h:188
AvalancheSchedulerSvc::TaskSpec::TaskSpec
TaskSpec(const TaskSpec &)=default
Copy constructor (to keep a lambda capturing a TaskSpec storable as a std::function value)
AvalancheSchedulerSvc::m_simulateExecution
Gaudi::Property< bool > m_simulateExecution
Definition: AvalancheSchedulerSvc.h:176
AvalancheSchedulerSvc::m_scheduledBlockingQueue
tbb::concurrent_priority_queue< TaskSpec, AlgQueueSort > m_scheduledBlockingQueue
Definition: AvalancheSchedulerSvc.h:335
AvalancheSchedulerSvc::recordOccupancy
virtual void recordOccupancy(int samplePeriod, std::function< void(OccupancySnapshot)> callback) override
Sample occupancy at fixed interval (ms) Negative value to deactivate, 0 to snapshot every change Each...
Definition: AvalancheSchedulerSvc.cpp:1148
AvalancheSchedulerSvc::index2algname
const std::string & index2algname(unsigned int index)
Convert an integer to a name.
Definition: AvalancheSchedulerSvc.h:234
AvalancheSchedulerSvc::INACTIVE
@ INACTIVE
Definition: AvalancheSchedulerSvc.h:157
SmartIF< IPrecedenceSvc >
IHiveWhiteBoard.h
AvalancheSchedulerSvc::m_algosInFlight
unsigned int m_algosInFlight
Number of algorithms presently in flight.
Definition: AvalancheSchedulerSvc.h:261
std::atomic< ActivationState >
AvalancheSchedulerSvc::tryPopFinishedEvent
StatusCode tryPopFinishedEvent(EventContext *&eventContext) override
Try to fetch an event from the scheduler.
Definition: AvalancheSchedulerSvc.cpp:622
AvalancheSchedulerSvc::scheduleEventView
virtual StatusCode scheduleEventView(const EventContext *sourceContext, const std::string &nodeName, std::unique_ptr< EventContext > viewContext) override
Method to inform the scheduler about event views.
Definition: AvalancheSchedulerSvc.cpp:1108
AvalancheSchedulerSvc::m_algResourcePool
SmartIF< IAlgResourcePool > m_algResourcePool
Cache for the algorithm resource pool.
Definition: AvalancheSchedulerSvc.h:290
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
AvalancheSchedulerSvc::freeSlots
unsigned int freeSlots() override
Get free slots number.
Definition: AvalancheSchedulerSvc.cpp:591
AvalancheSchedulerSvc::m_showDataDeps
Gaudi::Property< bool > m_showDataDeps
Definition: AvalancheSchedulerSvc.h:202
AvalancheSchedulerSvc::m_maxAlgosInFlight
size_t m_maxAlgosInFlight
Definition: AvalancheSchedulerSvc.h:347
AvalancheSchedulerSvc::dumpState
void dumpState() override
Dump scheduler state for all slots.
Definition: AvalancheSchedulerSvc.cpp:595
AvalancheSchedulerSvc::initialize
StatusCode initialize() override
Initialise.
Definition: AvalancheSchedulerSvc.cpp:73
Service.h
std::chrono::duration::min
T min(T... args)
AvalancheSchedulerSvc::TaskSpec::TaskSpec
TaskSpec(TaskSpec &&)=default
Move constructor.
AvalancheSchedulerSvc::TaskSpec::contextPtr
EventContext * contextPtr
Definition: AvalancheSchedulerSvc.h:325
AvalancheSchedulerSvc::m_dumpIntraEventDynamics
Gaudi::Property< bool > m_dumpIntraEventDynamics
Definition: AvalancheSchedulerSvc.h:181
AvalancheSchedulerSvc::m_retryQueue
std::queue< TaskSpec > m_retryQueue
Definition: AvalancheSchedulerSvc.h:336
IRunable.h
AvalancheSchedulerSvc::m_snapshotInterval
std::chrono::duration< int64_t, std::milli > m_snapshotInterval
Definition: AvalancheSchedulerSvc.h:160
AvalancheSchedulerSvc::m_threadPoolSvc
SmartIF< IThreadPoolSvc > m_threadPoolSvc
Definition: AvalancheSchedulerSvc.h:344
EventContext
Definition: EventContext.h:34
AlgsExecutionStates::State
State
Execution states of the algorithms Must have contiguous integer values 0, 1...
Definition: AlgsExecutionStates.h:42
AvalancheSchedulerSvc::revise
StatusCode revise(unsigned int iAlgo, EventContext *contextPtr, AState state, bool iterate=false)
Definition: AvalancheSchedulerSvc.cpp:776
AvalancheSchedulerSvc::activate
void activate()
Activate scheduler.
Definition: AvalancheSchedulerSvc.cpp:434
AvalancheSchedulerSvc::TaskSpec::TaskSpec
TaskSpec(IAlgorithm *algPtr, unsigned int algIndex, const std::string &algName, unsigned int algRank, bool blocking, int slotIndex, EventContext *eventContext)
Definition: AvalancheSchedulerSvc.h:301
AvalancheSchedulerSvc::m_actionsQueue
tbb::concurrent_bounded_queue< action > m_actionsQueue
Queue where closures are stored and picked for execution.
Definition: AvalancheSchedulerSvc.h:295
AvalancheSchedulerSvc::m_algname_index_map
std::unordered_map< std::string, unsigned int > m_algname_index_map
Map to bookkeep the information necessary to the name2index conversion.
Definition: AvalancheSchedulerSvc.h:228
AvalancheSchedulerSvc::m_checkDeps
Gaudi::Property< bool > m_checkDeps
Definition: AvalancheSchedulerSvc.h:186
AvalancheSchedulerSvc::isStalled
bool isStalled(const EventSlot &) const
Check if scheduling in a particular slot is in a stall.
Definition: AvalancheSchedulerSvc.cpp:817
AvalancheSchedulerSvc::algname2index
unsigned int algname2index(const std::string &algoname)
Convert a name to an integer.
Definition: AvalancheSchedulerSvc.h:228
AlgTask
Definition: AlgTask.h:36
AvalancheSchedulerSvc::AlgQueueSort
Comparison operator to sort the queues.
Definition: AvalancheSchedulerSvc.h:329
AvalancheSchedulerSvc::m_thread
std::thread m_thread
The thread in which the activate function runs.
Definition: AvalancheSchedulerSvc.h:225
AvalancheSchedulerSvc::pushNewEvents
StatusCode pushNewEvents(std::vector< EventContext * > &eventContexts) override
Definition: AvalancheSchedulerSvc.cpp:580
AvalancheSchedulerSvc::m_showDataFlow
Gaudi::Property< bool > m_showDataFlow
Definition: AvalancheSchedulerSvc.h:205
AvalancheSchedulerSvc::m_checkOutputIgnoreList
Gaudi::Property< std::vector< std::string > > m_checkOutputIgnoreList
Definition: AvalancheSchedulerSvc.h:190
AvalancheSchedulerSvc::signoff
StatusCode signoff(const TaskSpec &)
The call to this method is triggered only from within the AlgTask.
Definition: AvalancheSchedulerSvc.cpp:1074
AvalancheSchedulerSvc::m_freeSlots
std::atomic_int m_freeSlots
Atomic to account for asyncronous updates by the scheduler wrt the rest.
Definition: AvalancheSchedulerSvc.h:249
compareRootHistos.state
state
Definition: compareRootHistos.py:496
AvalancheSchedulerSvc::m_blockingAlgosInFlight
unsigned int m_blockingAlgosInFlight
Number of algorithms presently in flight.
Definition: AvalancheSchedulerSvc.h:264
IAlgExecStateSvc.h
AvalancheSchedulerSvc::TaskSpec::algIndex
unsigned int algIndex
Definition: AvalancheSchedulerSvc.h:320
AvalancheSchedulerSvc::m_snapshotCallback
std::function< void(OccupancySnapshot)> m_snapshotCallback
Definition: AvalancheSchedulerSvc.h:162
AvalancheSchedulerSvc::pushNewEvent
StatusCode pushNewEvent(EventContext *eventContext) override
Make an event available to the scheduler.
Definition: AvalancheSchedulerSvc.cpp:522
AvalancheSchedulerSvc::popFinishedEvent
StatusCode popFinishedEvent(EventContext *&eventContext) override
Blocks until an event is available.
Definition: AvalancheSchedulerSvc.cpp:601
AvalancheSchedulerSvc::next
bool next(TaskSpec &ts, bool blocking=false)
Definition: AvalancheSchedulerSvc.h:351
std::unique_ptr< EventContext >
std::unordered_map< std::string, unsigned int >
AvalancheSchedulerSvc::m_precSvc
SmartIF< IPrecedenceSvc > m_precSvc
A shortcut to the Precedence Service.
Definition: AvalancheSchedulerSvc.h:240
AvalancheSchedulerSvc::m_isActive
std::atomic< ActivationState > m_isActive
Flag to track if the scheduler is active or not.
Definition: AvalancheSchedulerSvc.h:222
AvalancheSchedulerSvc::m_finishedEvents
tbb::concurrent_bounded_queue< EventContext * > m_finishedEvents
Queue of finished events.
Definition: AvalancheSchedulerSvc.h:252
AvalancheSchedulerSvc::m_algname_vect
std::vector< std::string > m_algname_vect
Vector to bookkeep the information necessary to the index2name conversion.
Definition: AvalancheSchedulerSvc.h:234
ICondSvc.h
AvalancheSchedulerSvc::dumpSchedulerState
void dumpSchedulerState(int iSlot)
Dump the state of the scheduler.
Definition: AvalancheSchedulerSvc.cpp:856
Gaudi::Property< int >
AvalancheSchedulerSvc::m_verboseSubSlots
Gaudi::Property< bool > m_verboseSubSlots
Definition: AvalancheSchedulerSvc.h:211
AvalancheSchedulerSvc::TaskSpec::slotIndex
int slotIndex
Definition: AvalancheSchedulerSvc.h:324
Gaudi::ParticleProperties::index
size_t index(const Gaudi::ParticleProperty *property, const Gaudi::Interfaces::IParticlePropertySvc *service)
helper utility for mapping of Gaudi::ParticleProperty object into non-negative integral sequential id...
Definition: IParticlePropertySvc.cpp:39
IThreadPoolSvc.h
gaudirun.callback
callback
Definition: gaudirun.py:202
std::chrono::system_clock::now
T now(T... args)