FWCore
Framework
src
TriggerTimingReport.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_TriggerTimingReport_h
2
#define FWCore_Framework_TriggerTimingReport_h
3
4
/*----------------------------------------------------------------------
5
6
TriggerTimingReport: This struct contains all the information relevant to
7
reporting on the timing of the trigger.
8
9
10
----------------------------------------------------------------------*/
11
12
#include <string>
13
#include <vector>
14
15
namespace
edm
{
16
17
struct
EventTimingSummary
{
18
int
totalEvents
= 0;
19
double
cpuTime
= 0.;
20
double
realTime
= 0.;
21
double
sumStreamRealTime
= 0.;
22
};
23
24
struct
ModuleInPathTimingSummary
{
25
int
timesVisited
= 0;
26
double
realTime
= 0.;
27
28
std::string
moduleLabel
;
29
};
30
31
struct
PathTimingSummary
{
32
int
bitPosition
= 0;
33
int
timesRun
= 0;
34
double
realTime
= 0.;
35
36
std::string
name
;
37
std::vector<ModuleInPathTimingSummary>
moduleInPathSummaries
;
38
};
39
40
struct
WorkerTimingSummary
{
41
int
timesVisited
= 0;
42
int
timesRun
= 0;
43
double
realTime
= 0.;
44
45
std::string
moduleLabel
;
46
};
47
48
inline
bool
operator<
(
WorkerTimingSummary
const
&
a
,
WorkerTimingSummary
const
&
b
) {
49
return
a
.moduleLabel <
b
.moduleLabel;
50
}
51
52
struct
TriggerTimingReport
{
53
EventTimingSummary
eventSummary
;
54
std::vector<PathTimingSummary>
trigPathSummaries
;
55
std::vector<PathTimingSummary>
endPathSummaries
;
56
std::vector<WorkerTimingSummary>
workerSummaries
;
57
};
58
59
}
// namespace edm
60
#endif
edm::PathTimingSummary::moduleInPathSummaries
std::vector< ModuleInPathTimingSummary > moduleInPathSummaries
Definition:
TriggerTimingReport.h:37
edm::EventTimingSummary::sumStreamRealTime
double sumStreamRealTime
Definition:
TriggerTimingReport.h:21
edm::TriggerTimingReport::eventSummary
EventTimingSummary eventSummary
Definition:
TriggerTimingReport.h:53
edm::TriggerTimingReport::trigPathSummaries
std::vector< PathTimingSummary > trigPathSummaries
Definition:
TriggerTimingReport.h:54
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::EventTimingSummary::cpuTime
double cpuTime
Definition:
TriggerTimingReport.h:19
edm::TriggerTimingReport::endPathSummaries
std::vector< PathTimingSummary > endPathSummaries
Definition:
TriggerTimingReport.h:55
edm::EventTimingSummary
Definition:
TriggerTimingReport.h:17
edm::ModuleInPathTimingSummary::realTime
double realTime
Definition:
TriggerTimingReport.h:26
edm::PathTimingSummary::name
std::string name
Definition:
TriggerTimingReport.h:36
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
edm::TriggerTimingReport
Definition:
TriggerTimingReport.h:52
b
double b
Definition:
hdecay.h:118
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ModuleInPathTimingSummary
Definition:
TriggerTimingReport.h:24
a
double a
Definition:
hdecay.h:119
edm::PathTimingSummary::realTime
double realTime
Definition:
TriggerTimingReport.h:34
edm::WorkerTimingSummary
Definition:
TriggerTimingReport.h:40
edm::EventTimingSummary::totalEvents
int totalEvents
Definition:
TriggerTimingReport.h:18
edm::PathTimingSummary::bitPosition
int bitPosition
Definition:
TriggerTimingReport.h:32
edm::TriggerTimingReport::workerSummaries
std::vector< WorkerTimingSummary > workerSummaries
Definition:
TriggerTimingReport.h:56
edm::WorkerTimingSummary::timesVisited
int timesVisited
Definition:
TriggerTimingReport.h:41
edm::PathTimingSummary::timesRun
int timesRun
Definition:
TriggerTimingReport.h:33
edm::ModuleInPathTimingSummary::moduleLabel
std::string moduleLabel
Definition:
TriggerTimingReport.h:28
edm::EventTimingSummary::realTime
double realTime
Definition:
TriggerTimingReport.h:20
edm::WorkerTimingSummary::moduleLabel
std::string moduleLabel
Definition:
TriggerTimingReport.h:45
edm::PathTimingSummary
Definition:
TriggerTimingReport.h:31
edm::WorkerTimingSummary::realTime
double realTime
Definition:
TriggerTimingReport.h:43
edm::WorkerTimingSummary::timesRun
int timesRun
Definition:
TriggerTimingReport.h:42
edm::ModuleInPathTimingSummary::timesVisited
int timesVisited
Definition:
TriggerTimingReport.h:25
Generated for CMSSW Reference Manual by
1.8.16