|
|
#include <FastTimerService.h>
|
json | encodeToJSON (edm::ModuleDescription const &module, ResourcesPerModule const &data) const |
|
template<typename T > |
json | encodeToJSON (std::string const &type, std::string const &label, unsigned int events, T const &data) const |
|
template<typename T > |
json | encodeToJSON (std::string const &type, std::string const &label, unsigned int events, T const &data) const |
|
void | ignoredSignal (const std::string &signal) const |
|
bool | isFirstSubprocess (edm::GlobalContext const &) |
|
bool | isFirstSubprocess (edm::StreamContext const &) |
|
bool | isLastSubprocess (std::atomic< unsigned int > &check) |
|
void | on_scheduler_entry (bool worker) final |
|
void | on_scheduler_exit (bool worker) final |
|
void | postBeginJob () |
|
void | postEndJob () |
|
void | postEvent (edm::StreamContext const &) |
|
void | postEventReadFromSource (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postGlobalBeginLumi (edm::GlobalContext const &) |
|
void | postGlobalBeginRun (edm::GlobalContext const &) |
|
void | postGlobalEndLumi (edm::GlobalContext const &) |
|
void | postGlobalEndRun (edm::GlobalContext const &) |
|
void | postModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleEventAcquire (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleEventDelayedGet (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleEventPrefetching (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleGlobalBeginLumi (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleGlobalBeginRun (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleGlobalEndLumi (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleGlobalEndRun (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleStreamBeginLumi (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleStreamBeginRun (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleStreamEndLumi (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postModuleStreamEndRun (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | postPathEvent (edm::StreamContext const &, edm::PathContext const &, edm::HLTPathStatus const &) |
|
void | postSourceEvent (edm::StreamID) |
|
void | postSourceLumi (edm::LuminosityBlockIndex) |
|
void | postSourceRun (edm::RunIndex) |
|
void | postStreamBeginLumi (edm::StreamContext const &) |
|
void | postStreamBeginRun (edm::StreamContext const &) |
|
void | postStreamEndLumi (edm::StreamContext const &) |
|
void | postStreamEndRun (edm::StreamContext const &) |
|
void | preallocate (edm::service::SystemBounds const &) |
|
void | preBeginJob (edm::PathsAndConsumesOfModulesBase const &, edm::ProcessContext const &) |
|
void | preEvent (edm::StreamContext const &) |
|
void | preEventReadFromSource (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preGlobalBeginLumi (edm::GlobalContext const &) |
|
void | preGlobalBeginRun (edm::GlobalContext const &) |
|
void | preGlobalEndLumi (edm::GlobalContext const &) |
|
void | preGlobalEndRun (edm::GlobalContext const &) |
|
void | preModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleEventAcquire (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleEventDelayedGet (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleEventPrefetching (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleGlobalBeginLumi (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleGlobalBeginRun (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleGlobalEndLumi (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleGlobalEndRun (edm::GlobalContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleStreamBeginLumi (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleStreamBeginRun (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleStreamEndLumi (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | preModuleStreamEndRun (edm::StreamContext const &, edm::ModuleCallingContext const &) |
|
void | prePathEvent (edm::StreamContext const &, edm::PathContext const &) |
|
void | preSourceConstruction (edm::ModuleDescription const &) |
|
void | preSourceEvent (edm::StreamID) |
|
void | preSourceLumi (edm::LuminosityBlockIndex) |
|
void | preSourceRun (edm::RunIndex) |
|
void | preStreamBeginLumi (edm::StreamContext const &) |
|
void | preStreamBeginRun (edm::StreamContext const &) |
|
void | preStreamEndLumi (edm::StreamContext const &) |
|
void | preStreamEndRun (edm::StreamContext const &) |
|
template<typename T > |
void | printEvent (T &out, ResourcesPerJob const &) const |
|
template<typename T > |
void | printEvent (T &out, ResourcesPerJob const &data) const |
|
template<typename T > |
void | printEventHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printEventHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printEventLine (T &out, AtomicResources const &data, std::string const &label) const |
|
template<typename T > |
void | printEventLine (T &out, AtomicResources const &data, std::string const &label) const |
|
template<typename T > |
void | printEventLine (T &out, Resources const &data, std::string const &label) const |
|
template<typename T > |
void | printEventLine (T &out, Resources const &data, std::string const &label) const |
|
template<typename T > |
void | printHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printPathSummaryHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printPathSummaryHeader (T &out, std::string const &label) const |
|
template<typename T > |
void | printPathSummaryLine (T &out, Resources const &data, Resources const &total, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printPathSummaryLine (T &out, Resources const &data, Resources const &total, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printSummary (T &out, ResourcesPerJob const &data, std::string const &label) const |
|
template<typename T > |
void | printSummary (T &out, ResourcesPerJob const &data, std::string const &label) const |
|
template<typename T > |
void | printSummaryHeader (T &out, std::string const &label, bool detailed) const |
|
template<typename T > |
void | printSummaryHeader (T &out, std::string const &label, bool detailed) const |
|
template<typename T > |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, uint64_t active, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, uint64_t active, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, uint64_t active, std::string const &label) const |
|
template<typename T > |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, uint64_t active, std::string const &label) const |
|
template<typename T > |
void | printTransition (T &out, AtomicResources const &data, std::string const &label) const |
|
template<typename T > |
void | printTransition (T &out, AtomicResources const &data, std::string const &label) const |
|
Measurement & | thread () |
|
void | unsupportedSignal (const std::string &signal) const |
|
void | writeSummaryJSON (ResourcesPerJob const &data, std::string const &filename) const |
|
Definition at line 54 of file FastTimerService.h.
◆ FastTimerService()
Definition at line 769 of file FastTimerService.cc.
794 config.getUntrackedParameter<
double>(
"dqmTimeResolution"),
795 config.getUntrackedParameter<
double>(
"dqmMemoryRange"),
796 config.getUntrackedParameter<
double>(
"dqmMemoryResolution")}),
798 config.getUntrackedParameter<
double>(
"dqmPathTimeResolution"),
799 config.getUntrackedParameter<
double>(
"dqmPathMemoryRange"),
800 config.getUntrackedParameter<
double>(
"dqmPathMemoryResolution")}),
802 config.getUntrackedParameter<
double>(
"dqmModuleTimeResolution"),
803 config.getUntrackedParameter<
double>(
"dqmModuleMemoryRange"),
804 config.getUntrackedParameter<
double>(
"dqmModuleMemoryResolution")}),
812 tbb::task_scheduler_observer::observe();
◆ ~FastTimerService()
FastTimerService::~FastTimerService |
( |
| ) |
|
|
overridedefault |
◆ encodeToJSON() [1/3]
◆ encodeToJSON() [2/3]
template<typename T >
json FastTimerService::encodeToJSON |
( |
std::string const & |
type, |
|
|
std::string const & |
label, |
|
|
unsigned int |
events, |
|
|
T const & |
data |
|
) |
| const |
|
private |
◆ encodeToJSON() [3/3]
template<typename T >
json FastTimerService::encodeToJSON |
( |
std::string const & |
type, |
|
|
std::string const & |
label, |
|
|
unsigned int |
events, |
|
|
T const & |
data |
|
) |
| const |
|
private |
◆ fillDescriptions()
Definition at line 1733 of file FastTimerService.cc.
1735 desc.addUntracked<
bool>(
"printEventSummary",
false);
1736 desc.addUntracked<
bool>(
"printRunSummary",
true);
1737 desc.addUntracked<
bool>(
"printJobSummary",
true);
1742 desc.addUntracked<
bool>(
"writeJSONSummary",
false);
1745 desc.addUntracked<
bool>(
"enableDQM",
true);
1746 desc.addUntracked<
bool>(
"enableDQMbyModule",
false);
1747 desc.addUntracked<
bool>(
"enableDQMbyPath",
false);
1748 desc.addUntracked<
bool>(
"enableDQMbyLumiSection",
false);
1749 desc.addUntracked<
bool>(
"enableDQMbyProcesses",
false);
1750 desc.addUntracked<
bool>(
"enableDQMTransitions",
false);
1751 desc.addUntracked<
double>(
"dqmTimeRange", 1000.);
1752 desc.addUntracked<
double>(
"dqmTimeResolution", 5.);
1753 desc.addUntracked<
double>(
"dqmMemoryRange", 1000000.);
1754 desc.addUntracked<
double>(
"dqmMemoryResolution", 5000.);
1755 desc.addUntracked<
double>(
"dqmPathTimeRange", 100.);
1756 desc.addUntracked<
double>(
"dqmPathTimeResolution", 0.5);
1757 desc.addUntracked<
double>(
"dqmPathMemoryRange", 1000000.);
1758 desc.addUntracked<
double>(
"dqmPathMemoryResolution", 5000.);
1759 desc.addUntracked<
double>(
"dqmModuleTimeRange", 40.);
1760 desc.addUntracked<
double>(
"dqmModuleTimeResolution", 0.2);
1761 desc.addUntracked<
double>(
"dqmModuleMemoryRange", 100000.);
1762 desc.addUntracked<
double>(
"dqmModuleMemoryResolution", 500.);
1763 desc.addUntracked<
unsigned>(
"dqmLumiSectionsRange", 2500);
1767 highlightModulesDescription.
addUntracked<std::vector<std::string>>(
"modules", {});
1768 highlightModulesDescription.addUntracked<
std::string>(
"label",
"producers");
1769 desc.addVPSetUntracked(
"highlightModules", highlightModulesDescription, {});
1774 ->setComment(
"This parameter is obsolete and will be ignored.");
1776 ->setComment(
"This parameter is obsolete and will be ignored.");
1778 ->setComment(
"This parameter is obsolete and will be ignored.");
1780 ->setComment(
"This parameter is obsolete and will be ignored.");
1782 ->setComment(
"This parameter is obsolete and will be ignored.");
1784 ->setComment(
"This parameter is obsolete and will be ignored.");
1786 ->setComment(
"This parameter is obsolete and will be ignored.");
1788 ->setComment(
"This parameter is obsolete and will be ignored.");
1790 ->setComment(
"This parameter is obsolete and will be ignored.");
1792 ->setComment(
"This parameter is obsolete and will be ignored.");
1794 ->setComment(
"This parameter is obsolete and will be ignored.");
1796 ->setComment(
"This parameter is obsolete and will be ignored.");
1798 ->setComment(
"This parameter is obsolete and will be ignored.");
1800 ->setComment(
"This parameter is obsolete and will be ignored.");
1802 descriptions.
add(
"FastTimerService",
desc);
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ ignoredSignal()
void FastTimerService::ignoredSignal |
( |
const std::string & |
signal | ) |
const |
|
private |
Definition at line 885 of file FastTimerService.cc.
886 LogDebug(
"FastTimerService") <<
"The FastTimerService received is currently not monitoring the signal \"" << signal
References LogDebug.
◆ isFirstSubprocess() [1/2]
◆ isFirstSubprocess() [2/2]
◆ isLastSubprocess()
bool FastTimerService::isLastSubprocess |
( |
std::atomic< unsigned int > & |
check | ) |
|
|
private |
◆ on_scheduler_entry()
void FastTimerService::on_scheduler_entry |
( |
bool |
worker | ) |
|
|
finalprivate |
◆ on_scheduler_exit()
void FastTimerService::on_scheduler_exit |
( |
bool |
worker | ) |
|
|
finalprivate |
◆ postBeginJob()
void FastTimerService::postBeginJob |
( |
| ) |
|
|
private |
◆ postEndJob()
void FastTimerService::postEndJob |
( |
| ) |
|
|
private |
◆ postEvent()
Definition at line 1429 of file FastTimerService.cc.
1433 unsigned int sid = sc.streamID();
1439 for (
unsigned int id :
process.modules_)
1449 stream.event_measurement.measure_and_store(
stream.event);
1452 unsigned int id = 0;
References data, edm::StreamContext::eventID(), watchdog::group, mps_fire::i, triggerObjects_cff::id, dqmdumpme::last, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, LaserDQM_cfg::process, edm::StreamContext::processContext(), edm::StreamContext::runIndex(), cms::cuda::stream, and edm::StreamContext::streamID().
◆ postEventReadFromSource()
◆ postGlobalBeginLumi()
◆ postGlobalBeginRun()
◆ postGlobalEndLumi()
◆ postGlobalEndRun()
◆ postModuleEvent()
◆ postModuleEventAcquire()
◆ postModuleEventDelayedGet()
◆ postModuleEventPrefetching()
◆ postModuleGlobalBeginLumi()
◆ postModuleGlobalBeginRun()
◆ postModuleGlobalEndLumi()
◆ postModuleGlobalEndRun()
◆ postModuleStreamBeginLumi()
◆ postModuleStreamBeginRun()
◆ postModuleStreamEndLumi()
◆ postModuleStreamEndRun()
◆ postPathEvent()
Definition at line 1511 of file FastTimerService.cc.
1514 unsigned int sid = sc.streamID().value();
1516 unsigned int id = pc.pathID();
1518 auto&
data = pc.isEndPath() ?
stream.processes[pid].endpaths[
id] :
stream.processes[pid].paths[
id];
1522 unsigned int index =
path.modules_on_path_.empty() ? 0 :
status.index() + 1;
1523 data.last =
path.modules_on_path_.empty() ? 0 :
path.last_dependency_of_module_[
status.index()];
1525 for (
unsigned int i = 0;
i <
index; ++
i) {
1529 for (
unsigned int i = 0;
i <
data.last; ++
i) {
References data, mps_fire::i, triggerObjects_cff::id, edm::PathContext::isEndPath(), callgraph::module, castor_dqm_sourceclient_file_cfg::path, edm::PathContext::pathID(), edm::StreamContext::processContext(), mps_update::status, cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
◆ postSourceEvent()
◆ postSourceLumi()
◆ postSourceRun()
◆ postStreamBeginLumi()
◆ postStreamBeginRun()
◆ postStreamEndLumi()
◆ postStreamEndRun()
◆ preallocate()
◆ preBeginJob()
◆ preEvent()
◆ preEventReadFromSource()
◆ preGlobalBeginLumi()
◆ preGlobalBeginRun()
◆ preGlobalEndLumi()
◆ preGlobalEndRun()
◆ preModuleEvent()
◆ preModuleEventAcquire()
◆ preModuleEventDelayedGet()
◆ preModuleEventPrefetching()
◆ preModuleGlobalBeginLumi()
◆ preModuleGlobalBeginRun()
◆ preModuleGlobalEndLumi()
◆ preModuleGlobalEndRun()
◆ preModuleStreamBeginLumi()
◆ preModuleStreamBeginRun()
◆ preModuleStreamEndLumi()
◆ preModuleStreamEndRun()
◆ prePathEvent()
◆ preSourceConstruction()
◆ preSourceEvent()
◆ preSourceLumi()
◆ preSourceRun()
◆ preStreamBeginLumi()
◆ preStreamBeginRun()
◆ preStreamEndLumi()
◆ preStreamEndRun()
◆ printEvent() [1/2]
◆ printEvent() [2/2]
template<typename T >
void FastTimerService::printEvent |
( |
T & |
out, |
|
|
ResourcesPerJob const & |
data |
|
) |
| const |
|
private |
Definition at line 1155 of file FastTimerService.cc.
1159 auto const&
source =
data.modules[source_d.id()];
1165 for (
unsigned int m : proc_d.modules_) {
1179 for (
unsigned int p = 0;
p <
proc.paths.size(); ++
p) {
1180 auto const&
name = proc_d.paths_[
p].name_;
1185 for (
unsigned int p = 0;
p <
proc.endpaths.size(); ++
p) {
1186 auto const&
name = proc_d.endPaths_[
p].name_;
References data, watchdog::group, mps_fire::i, visualization-live-secondInstance_cfg::m, callgraph::module, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, ValidateTausOnZEEFastSim_cff::proc, and source.
◆ printEventHeader() [1/2]
template<typename T >
void FastTimerService::printEventHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printEventHeader() [2/2]
template<typename T >
void FastTimerService::printEventHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printEventLine() [1/4]
template<typename T >
void FastTimerService::printEventLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printEventLine() [2/4]
template<typename T >
void FastTimerService::printEventLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printEventLine() [3/4]
template<typename T >
void FastTimerService::printEventLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printEventLine() [4/4]
template<typename T >
void FastTimerService::printEventLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printHeader() [1/2]
template<typename T >
void FastTimerService::printHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printHeader() [2/2]
template<typename T >
void FastTimerService::printHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printPathSummaryHeader() [1/2]
template<typename T >
void FastTimerService::printPathSummaryHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printPathSummaryHeader() [2/2]
template<typename T >
void FastTimerService::printPathSummaryHeader |
( |
T & |
out, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printPathSummaryLine() [1/2]
template<typename T >
void FastTimerService::printPathSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
Resources const & |
total, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printPathSummaryLine() [2/2]
template<typename T >
void FastTimerService::printPathSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
Resources const & |
total, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummary() [1/2]
template<typename T >
void FastTimerService::printSummary |
( |
T & |
out, |
|
|
ResourcesPerJob const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummary() [2/2]
template<typename T >
void FastTimerService::printSummary |
( |
T & |
out, |
|
|
ResourcesPerJob const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
Definition at line 1308 of file FastTimerService.cc.
1312 auto const&
source =
data.modules[source_d.id()];
1318 for (
unsigned int m : proc_d.modules_) {
1333 for (
unsigned int p = 0;
p <
proc.paths.size(); ++
p) {
1334 auto const&
name = proc_d.paths_[
p].name_;
1338 for (
unsigned int p = 0;
p <
proc.endpaths.size(); ++
p) {
1339 auto const&
name = proc_d.endPaths_[
p].name_;
References data, watchdog::group, mps_fire::i, label, visualization-live-secondInstance_cfg::m, callgraph::module, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, ValidateTausOnZEEFastSim_cff::proc, and source.
◆ printSummaryHeader() [1/2]
template<typename T >
void FastTimerService::printSummaryHeader |
( |
T & |
out, |
|
|
std::string const & |
label, |
|
|
bool |
detailed |
|
) |
| const |
|
private |
◆ printSummaryHeader() [2/2]
template<typename T >
void FastTimerService::printSummaryHeader |
( |
T & |
out, |
|
|
std::string const & |
label, |
|
|
bool |
detailed |
|
) |
| const |
|
private |
◆ printSummaryLine() [1/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [2/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [3/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
uint64_t |
events, |
|
|
uint64_t |
active, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [4/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
uint64_t |
events, |
|
|
uint64_t |
active, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
Definition at line 1242 of file FastTimerService.cc.
1244 out << fmt::sprintf(
1246 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1249 (active ? ms(
data.time_thread) / active : 0),
1251 (active ? ms(
data.time_real) / active : 0),
1253 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1255 (active ? -static_cast<int64_t>(kB(
data.deallocated) / active) : 0),
References data, patZpeak::events, label, and MillePedeFileConverter_cfg::out.
◆ printSummaryLine() [5/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [6/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
uint64_t |
events, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [7/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
uint64_t |
events, |
|
|
uint64_t |
active, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printSummaryLine() [8/8]
template<typename T >
void FastTimerService::printSummaryLine |
( |
T & |
out, |
|
|
Resources const & |
data, |
|
|
uint64_t |
events, |
|
|
uint64_t |
active, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
Definition at line 1276 of file FastTimerService.cc.
1278 out << fmt::sprintf(
1279 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1281 (active ? ms(
data.time_thread) / active : 0),
1283 (active ? ms(
data.time_real) / active : 0),
1285 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1287 (active ? -static_cast<int64_t>(kB(
data.deallocated) / active) : 0),
References data, patZpeak::events, label, and MillePedeFileConverter_cfg::out.
◆ printTransition() [1/2]
template<typename T >
void FastTimerService::printTransition |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ printTransition() [2/2]
template<typename T >
void FastTimerService::printTransition |
( |
T & |
out, |
|
|
AtomicResources const & |
data, |
|
|
std::string const & |
label |
|
) |
| const |
|
private |
◆ thread()
◆ unsupportedSignal()
void FastTimerService::unsupportedSignal |
( |
const std::string & |
signal | ) |
const |
|
private |
Definition at line 890 of file FastTimerService.cc.
893 edm::LogWarning(
"FastTimerService") <<
"The FastTimerService received the unsupported signal \"" << signal
895 <<
"Please report how to reproduce the issue to cms-hlt@cern.ch .";
◆ writeSummaryJSON()
void FastTimerService::writeSummaryJSON |
( |
ResourcesPerJob const & |
data, |
|
|
std::string const & |
filename |
|
) |
| const |
|
private |
Definition at line 1383 of file FastTimerService.cc.
1388 json{{
"time_thread",
"cpu time"}},
1389 json{{
"mem_alloc",
"allocated memory"}},
1390 json{{
"mem_free",
"deallocated memory"}}});
1399 auto const& data_m =
data.modules[
i];
1407 out << std::setw(2) <<
j << std::flush;
References mps_check::array, data, corrVsCorr::filename, mps_fire::i, dqmiolumiharvest::j, callgraph::module, and MillePedeFileConverter_cfg::out.
◆ callgraph_
◆ concurrent_lumis_
unsigned int FastTimerService::concurrent_lumis_ |
|
private |
◆ concurrent_runs_
unsigned int FastTimerService::concurrent_runs_ |
|
private |
◆ concurrent_streams_
unsigned int FastTimerService::concurrent_streams_ |
|
private |
◆ concurrent_threads_
unsigned int FastTimerService::concurrent_threads_ |
|
private |
◆ dqm_event_ranges_
const PlotRanges FastTimerService::dqm_event_ranges_ |
|
private |
◆ dqm_lumisections_range_
const unsigned int FastTimerService::dqm_lumisections_range_ |
|
private |
◆ dqm_module_ranges_
const PlotRanges FastTimerService::dqm_module_ranges_ |
|
private |
◆ dqm_path_
std::string FastTimerService::dqm_path_ |
|
private |
◆ dqm_path_ranges_
const PlotRanges FastTimerService::dqm_path_ranges_ |
|
private |
◆ enable_dqm_
bool FastTimerService::enable_dqm_ |
|
private |
◆ enable_dqm_byls_
const bool FastTimerService::enable_dqm_byls_ |
|
private |
◆ enable_dqm_bymodule_
const bool FastTimerService::enable_dqm_bymodule_ |
|
private |
◆ enable_dqm_bynproc_
const bool FastTimerService::enable_dqm_bynproc_ |
|
private |
◆ enable_dqm_bypath_
const bool FastTimerService::enable_dqm_bypath_ |
|
private |
◆ enable_dqm_transitions_
const bool FastTimerService::enable_dqm_transitions_ |
|
private |
◆ guard_
◆ highlight_module_psets_
◆ highlight_modules_
◆ job_summary_
◆ json_filename_
const std::string FastTimerService::json_filename_ |
|
private |
◆ lumi_transition_
◆ overhead_
◆ plots_
◆ print_event_summary_
const bool FastTimerService::print_event_summary_ |
|
private |
◆ print_job_summary_
const bool FastTimerService::print_job_summary_ |
|
private |
◆ print_run_summary_
const bool FastTimerService::print_run_summary_ |
|
private |
◆ run_summary_
◆ run_transition_
◆ streams_
◆ subprocess_event_check_
std::unique_ptr<std::atomic<unsigned int>[]> FastTimerService::subprocess_event_check_ |
|
private |
◆ subprocess_global_lumi_check_
std::unique_ptr<std::atomic<unsigned int>[]> FastTimerService::subprocess_global_lumi_check_ |
|
private |
◆ subprocess_global_run_check_
std::unique_ptr<std::atomic<unsigned int>[]> FastTimerService::subprocess_global_run_check_ |
|
private |
◆ summary_mutex_
◆ unsupported_signals_
tbb::concurrent_unordered_set<std::string> FastTimerService::unsupported_signals_ |
|
mutableprivate |
◆ write_json_summary_
const bool FastTimerService::write_json_summary_ |
|
private |
const bool enable_dqm_bynproc_
void preSourceEvent(edm::StreamID)
const std::string json_filename_
std::string const & moduleLabel() const
unsigned int concurrent_threads_
const std::vector< ProcessType > & processes() const
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void postSourceEvent(edm::StreamID)
void preBeginJob(edm::PathsAndConsumesOfModulesBase const &, edm::ProcessContext const &)
void printEvent(T &out, ResourcesPerJob const &) const
void preModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
ProcessCallGraph callgraph_
std::vector< ResourcesPerJob > streams_
void preModuleGlobalBeginRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
unsigned int concurrent_streams_
void preSourceLumi(edm::LuminosityBlockIndex)
std::vector< edm::ParameterSet > highlight_module_psets_
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
boost::date_time::subsecond_duration< boost::posix_time::time_duration, 1000000000 > nanoseconds
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postEvent(edm::StreamContext const &)
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
const bool print_job_summary_
void preSourceConstruction(edm::ModuleDescription const &)
void preGlobalBeginLumi(edm::GlobalContext const &)
AtomicResources overhead_
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
unsigned int concurrent_runs_
const bool enable_dqm_bypath_
std::vector< ResourcesPerJob > run_summary_
virtual void setCurrentFolder(std::string const &fullpath)
void postModuleStreamEndRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
const bool enable_dqm_transitions_
void writeSummaryJSON(ResourcesPerJob const &data, std::string const &filename) const
const PlotRanges dqm_module_ranges_
ResourcesPerJob job_summary_
unsigned int concurrent_lumis_
const PlotRanges dqm_event_ranges_
void preGlobalBeginRun(edm::GlobalContext const &)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
bool isLastSubprocess(std::atomic< unsigned int > &check)
const ProcessType & processDescription(unsigned int) const
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void postSourceLumi(edm::LuminosityBlockIndex)
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
void unsupportedSignal(const std::string &signal) const
void preModuleEventAcquire(edm::StreamContext const &, edm::ModuleCallingContext const &)
json encodeToJSON(std::string const &type, std::string const &label, unsigned int events, T const &data) const
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
std::unique_ptr< std::atomic< unsigned int >[]> subprocess_global_run_check_
std::vector< PathType > paths_
Log< level::Warning, false > LogWarning
std::unique_ptr< std::atomic< unsigned int >[]> subprocess_global_lumi_check_
void printTransition(T &out, AtomicResources const &data, std::string const &label) const
void preallocate(edm::service::SystemBounds const &)
void printSummaryHeader(T &out, std::string const &label, bool detailed) const
unsigned int size() const
const bool print_run_summary_
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void postModuleGlobalBeginRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void ignoredSignal(const std::string &signal) const
std::vector< GroupOfModules > highlight_modules_
void postGlobalEndRun(edm::GlobalContext const &)
const PlotRanges dqm_path_ranges_
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
std::vector< AtomicResources > lumi_transition_
void postModuleGlobalEndLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void postModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void preStreamBeginLumi(edm::StreamContext const &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void postModuleGlobalEndRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
const bool enable_dqm_byls_
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void preModuleGlobalBeginLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const &iSlot)
void preStreamBeginRun(edm::StreamContext const &)
void postModuleStreamBeginRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPreEvent(PreEvent::slot_type const &iSlot)
bool isFirstSubprocess(edm::StreamContext const &)
static const std::string source
void preModuleStreamEndRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
std::unique_ptr< PlotsPerJob > plots_
void printSummaryLine(T &out, Resources const &data, uint64_t events, std::string const &label) const
void printEventHeader(T &out, std::string const &label) const
std::vector< PathType > endPaths_
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
tbb::concurrent_unordered_set< std::string > unsupported_signals_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleEventAcquire(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
void watchPostEvent(PostEvent::slot_type const &iSlot)
std::mutex summary_mutex_
const bool write_json_summary_
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void preModuleGlobalEndRun(edm::GlobalContext const &, edm::ModuleCallingContext const &)
const unsigned int dqm_lumisections_range_
void postModuleStreamBeginLumi(edm::StreamContext const &, edm::ModuleCallingContext const &)
void measure_and_store(Resources &store) noexcept
void measure_and_accumulate(Resources &store) noexcept
void preModuleGlobalEndLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
bool register_thread(FastTimerService::AtomicResources &r)
void postModuleGlobalBeginLumi(edm::GlobalContext const &, edm::ModuleCallingContext const &)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void postStreamEndLumi(edm::StreamContext const &)
void printPathSummaryLine(T &out, Resources const &data, Resources const &total, uint64_t events, std::string const &label) const
std::unique_ptr< std::atomic< unsigned int >[]> subprocess_event_check_
void watchPreallocate(Preallocate::slot_type const &iSlot)
const edm::ModuleDescription & source() const
void preModuleStreamBeginRun(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void prePathEvent(edm::StreamContext const &, edm::PathContext const &)
void postPathEvent(edm::StreamContext const &, edm::PathContext const &, edm::HLTPathStatus const &)
void postGlobalEndLumi(edm::GlobalContext const &)
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void preModuleEventDelayedGet(edm::StreamContext const &, edm::ModuleCallingContext const &)
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
UseScope< MonitorElementData::Scope::RUN > UseRunScope
void postModuleEventDelayedGet(edm::StreamContext const &, edm::ModuleCallingContext const &)
char data[epos_bytes_allocation]
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void printHeader(T &out, std::string const &label) const
void printSummary(T &out, ResourcesPerJob const &data, std::string const &label) const
unsigned int processId(edm::ProcessContext const &) const
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void postSourceRun(edm::RunIndex)
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
const std::string processor_model
const edm::ModuleDescription & module(unsigned int module) const
void printEventLine(T &out, Resources const &data, std::string const &label) const
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
std::vector< AtomicResources > run_transition_
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
void preBeginJob(edm::PathsAndConsumesOfModulesBase const &, edm::ProcessContext const &)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void preSourceRun(edm::RunIndex)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
const bool print_event_summary_
const bool enable_dqm_bymodule_
void postStreamEndRun(edm::StreamContext const &)
void preEvent(edm::StreamContext const &)
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void printPathSummaryHeader(T &out, std::string const &label) const
void preSourceConstruction(edm::ModuleDescription const &)