| The Gaudi Framework v32r1 (f65d50dc)

ITimelineSvc.cpp
Go to the documentation of this file.
1 #include "GaudiKernel/ITimelineSvc.h"
2 #include "GaudiKernel/EventContext.h"
3
4 ITimelineSvc::TimelineRecorder::TimelineRecorder( TimelineEvent& record, std::string alg, const EventContext& ctx )
5 : m_record{&record} {
6 m_record->thread = pthread_self();
7 m_record->slot = ctx.slot();
8 m_record->event = ctx.evt();
9 m_record->algorithm = std::move( alg );
10 m_record->start = Clock::now();
11 }
ManySmallAlgs.alg
alg
Definition: ManySmallAlgs.py:69
TimelineEvent::thread
pthread_t thread
Definition: ITimelineSvc.h:17
EventContext.h
TimelineEvent
Definition: ITimelineSvc.h:13
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
std::string
STL class.
ITimelineSvc.h
std::move
T move(T... args)
ITimelineSvc::TimelineRecorder::TimelineRecorder
TimelineRecorder()=default