Main Page
+
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
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
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
+
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
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related 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
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
HeterogeneousCore
SonicCore
src
sonic_utils.cc
Go to the documentation of this file.
1
#include "
HeterogeneousCore/SonicCore/interface/sonic_utils.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
4
#include <string_view>
5
#include <chrono>
6
7
namespace
sonic_utils
{
8
void
printDebugTime
(std::string_view debugName, std::string_view
msg
,
const
TimePoint
&
t0
) {
9
auto
t1
=
std::chrono::high_resolution_clock::now
();
10
if
(debugName.empty())
11
return
;
12
edm::LogInfo
(debugName) << msg << std::chrono::duration_cast<std::chrono::microseconds>(
t1
-
t0
).
count
();
13
}
14
}
// namespace sonic_utils
FrontierCondition_GT_autoExpress_cfi.t0
t0
Definition:
FrontierCondition_GT_autoExpress_cfi.py:149
MessageLogger.h
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
sonic_utils
Definition:
sonic_utils.h:7
submitPVResolutionJobs.count
count
Definition:
submitPVResolutionJobs.py:352
edm::LogInfo
Log< level::Info, false > LogInfo
Definition:
MessageLogger.h:125
mps_check.msg
tuple msg
Definition:
mps_check.py:286
sonic_utils.h
sonic_utils::TimePoint
std::chrono::time_point< std::chrono::high_resolution_clock > TimePoint
Definition:
sonic_utils.h:8
sonic_utils::printDebugTime
void printDebugTime(std::string_view debugName, std::string_view msg, const TimePoint &t0)
Definition:
sonic_utils.cc:8
submitPVValidationJobs.now
now
Definition:
submitPVValidationJobs.py:646
Generated for CMSSW Reference Manual by
1.8.14