Loading [MathJax]/jax/output/HTML-CSS/config.js
The Gaudi Framework  master (01b473db)
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 #pragma once
12 
13 #include <chrono>
14 #include <pthread.h>
15 #include <string>
16 
17 struct TimelineEvent final {
18  using Clock = std::chrono::high_resolution_clock;
19  using time_point = Clock::time_point;
20 
21  pthread_t thread;
22  size_t slot;
23  size_t event;
24 
25  std::string algorithm;
26 
29 };
TimelineEvent::time_point
Clock::time_point time_point
Definition: TimelineEvent.h:19
TimelineEvent::start
time_point start
Definition: TimelineEvent.h:27
TimelineEvent::event
size_t event
Definition: TimelineEvent.h:23
TimelineEvent::slot
size_t slot
Definition: TimelineEvent.h:22
TimelineEvent
Definition: TimelineEvent.h:17
TimelineEvent::thread
pthread_t thread
Definition: TimelineEvent.h:21
TimelineEvent::algorithm
std::string algorithm
Definition: TimelineEvent.h:25
TimelineEvent::Clock
std::chrono::high_resolution_clock Clock
Definition: TimelineEvent.h:18
TimelineEvent::end
time_point end
Definition: TimelineEvent.h:28