/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/src/TriggerTimingReport.h
60 строк
1 KB
Christopher Jones
Move non public API headers from FWCore/Framework/interface
08 сен 2020, 21:03
08 сен 2020, 21:03
e4b855f
Код
Авторство
О чём код?
#ifndef FWCore_Framework_TriggerTimingReport_h #define FWCore_Framework_TriggerTimingReport_h /*---------------------------------------------------------------------- TriggerTimingReport: This struct contains all the information relevant to reporting on the timing of the trigger. ----------------------------------------------------------------------*/ #include <string> #include <vector> namespace edm { struct EventTimingSummary { int totalEvents = 0; double cpuTime = 0.; double realTime = 0.; double sumStreamRealTime = 0.; }; struct ModuleInPathTimingSummary { int timesVisited = 0; double realTime = 0.; std::string moduleLabel; }; struct PathTimingSummary { int bitPosition = 0; int timesRun = 0; double realTime = 0.; std::string name; std::vector<ModuleInPathTimingSummary> moduleInPathSummaries; }; struct WorkerTimingSummary { int timesVisited = 0; int timesRun = 0; double realTime = 0.; std::string moduleLabel; }; inline bool operator<(WorkerTimingSummary const& a, WorkerTimingSummary const& b) { return a.moduleLabel < b.moduleLabel; } struct TriggerTimingReport { EventTimingSummary eventSummary; std::vector<PathTimingSummary> trigPathSummaries; std::vector<PathTimingSummary> endPathSummaries; std::vector<WorkerTimingSummary> workerSummaries; }; } // namespace edm #endif