ITimelineSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ITIMELINESVC_H
2 #define GAUDIKERNEL_ITIMELINESVC_H
3 
4 #include "GaudiKernel/IService.h"
5 
6 #include <string>
7 
8 #ifndef __GCCXML__
9 
10  #include <chrono>
13 
14 #else
15  typedef uint time_point;
16 #endif
17 
19  uint thread;
20  uint slot;
21  uint event;
22 
24 
27 };
28 
29 class GAUDI_API ITimelineSvc: virtual public IService {
30 
31 public:
34 
35  virtual void registerTimelineEvent(const TimelineEvent & e) = 0;
36  virtual bool isEnabled() const = 0;
37 
39  virtual ~ITimelineSvc() {}
40 };
41 
42 #endif
std::string algorithm
Definition: ITimelineSvc.h:23
STL class.
time_point end
Definition: ITimelineSvc.h:26
General service interface definition.
Definition: IService.h:18
std::chrono::high_resolution_clock Clock
Definition: ITimelineSvc.h:11
time_point start
Definition: ITimelineSvc.h:25
virtual ~ITimelineSvc()
virtual destructor
Definition: ITimelineSvc.h:39
Clock::time_point time_point
Definition: ITimelineSvc.h:12
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
#define GAUDI_API
Definition: Kernel.h:107