The Gaudi Framework
v32r2 (46d42edc)
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
GaudiPython.Pythonizations.ctx
ctx
Definition:
Pythonizations.py:556
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
GaudiKernel
src
Lib
ITimelineSvc.cpp
Generated on Sat Sep 28 2019 18:06:51 for The Gaudi Framework by
1.8.15