The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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
17struct 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};
Clock::time_point time_point
time_point start
time_point end
std::string algorithm
std::chrono::high_resolution_clock Clock
pthread_t thread