Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Trigger
TrigHypothesis
TrigHLTJetHypo
src
JetTrigTimer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGHLTJETHYPO_JETTRIGTIMER_H
6
#define TRIGHLTJETHYPO_JETTRIGTIMER_H
7
8
#include <chrono>
9
#include <vector>
10
#include <string>
11
#include <tuple>
12
13
class
JetTrigTimer
{
14
public
:
15
JetTrigTimer
(
bool
nanoseconds=
false
);
16
17
void
start
();
18
void
update
();
19
std::string
read
()
const
;
20
std::tuple<double, int, std::string>
read_bare
()
const
;
21
void
reset
() noexcept;
22
std::string
readAndReset
();
23
double
elapsed_to_now
();
24
double
elapsed_to_update
();
25
std::string
units
()
const
;
26
27
private
:
28
std::size_t
m_nCalls
{0};
29
std::chrono::system_clock::time_point
m_start
;
30
std::chrono::system_clock::time_point
m_stop
;
31
32
double
m_elapsedDelta
{0.};
33
bool
m_nanoseconds
;
34
void
accumulate
();
35
36
};
37
#endif
38
JetTrigTimer::JetTrigTimer
JetTrigTimer(bool nanoseconds=false)
Definition:
JetTrigTimer.cxx:13
JetTrigTimer::elapsed_to_update
double elapsed_to_update()
Definition:
JetTrigTimer.cxx:80
JetTrigTimer::read_bare
std::tuple< double, int, std::string > read_bare() const
Definition:
JetTrigTimer.cxx:60
JetTrigTimer::readAndReset
std::string readAndReset()
Definition:
JetTrigTimer.cxx:66
JetTrigTimer::m_nCalls
std::size_t m_nCalls
Definition:
JetTrigTimer.h:28
JetTrigTimer::read
std::string read() const
Definition:
JetTrigTimer.cxx:45
JetTrigTimer::m_stop
std::chrono::system_clock::time_point m_stop
Definition:
JetTrigTimer.h:30
JetTrigTimer::m_start
std::chrono::system_clock::time_point m_start
Definition:
JetTrigTimer.h:29
JetTrigTimer::units
std::string units() const
Definition:
JetTrigTimer.cxx:86
JetTrigTimer::update
void update()
Definition:
JetTrigTimer.cxx:22
JetTrigTimer::elapsed_to_now
double elapsed_to_now()
Definition:
JetTrigTimer.cxx:74
JetTrigTimer::m_elapsedDelta
double m_elapsedDelta
Definition:
JetTrigTimer.h:32
JetTrigTimer
Definition:
JetTrigTimer.h:13
JetTrigTimer::reset
void reset() noexcept
Definition:
JetTrigTimer.cxx:35
JetTrigTimer::accumulate
void accumulate()
JetTrigTimer::m_nanoseconds
bool m_nanoseconds
Definition:
JetTrigTimer.h:33
JetTrigTimer::start
void start()
Definition:
JetTrigTimer.cxx:15
Generated on Sun Mar 23 2025 21:12:57 for ATLAS Offline Software by
1.8.18