The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TimelineEvent.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 
12 #include <chrono>
13 #include <pthread.h>
14 #include <string>
15 
16 struct TimelineEvent final {
17  using Clock = std::chrono::high_resolution_clock;
18  using time_point = Clock::time_point;
19 
20  pthread_t thread;
21  size_t slot;
22  size_t event;
23 
24  std::string algorithm;
25 
28 };
TimelineEvent::time_point
Clock::time_point time_point
Definition: TimelineEvent.h:18
TimelineEvent::start
time_point start
Definition: TimelineEvent.h:26
TimelineEvent::event
size_t event
Definition: TimelineEvent.h:22
TimelineEvent::slot
size_t slot
Definition: TimelineEvent.h:21
TimelineEvent
Definition: TimelineEvent.h:16
TimelineEvent::thread
pthread_t thread
Definition: TimelineEvent.h:20
TimelineEvent::algorithm
std::string algorithm
Definition: TimelineEvent.h:24
TimelineEvent::Clock
std::chrono::high_resolution_clock Clock
Definition: TimelineEvent.h:17
TimelineEvent::end
time_point end
Definition: TimelineEvent.h:27