The Gaudi Framework
v30r3 (a5ef0a68)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
7
m_record
->
thread
= pthread_self();
8
m_record
->
slot
= ctx.slot();
9
m_record
->
event
= ctx.evt();
10
m_record
->
algorithm
=
std::move
( alg );
11
m_record
->
start
=
Clock::now
();
12
}
TimelineEvent::thread
pthread_t thread
Definition:
ITimelineSvc.h:17
EventContext.h
TimelineEvent::algorithm
std::string algorithm
Definition:
ITimelineSvc.h:21
TimelineEvent
Definition:
ITimelineSvc.h:13
EventContext
This class represents an entry point to all the event specific data.
Definition:
EventContext.h:24
ITimelineSvc::TimelineRecorder::m_record
TimelineEvent * m_record
Definition:
ITimelineSvc.h:58
std::string
STL class.
ITimelineSvc.h
std::move
T move(T...args)
TimelineEvent::start
time_point start
Definition:
ITimelineSvc.h:23
ITimelineSvc::TimelineRecorder::TimelineRecorder
TimelineRecorder()=default
std::chrono::high_resolution_clock::now
T now(T...args)
TimelineEvent::event
size_t event
Definition:
ITimelineSvc.h:19
TimelineEvent::slot
size_t slot
Definition:
ITimelineSvc.h:18
GaudiKernel
src
Lib
ITimelineSvc.cpp
Generated on Wed Aug 1 2018 23:21:09 for The Gaudi Framework by
1.8.11