|
|
#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 53 of file FastTimerService.h.
◆ FastTimerService()
Definition at line 763 of file FastTimerService.cc.
788 config.getUntrackedParameter<
double>(
"dqmTimeResolution"),
789 config.getUntrackedParameter<
double>(
"dqmMemoryRange"),
790 config.getUntrackedParameter<
double>(
"dqmMemoryResolution")}),
792 config.getUntrackedParameter<
double>(
"dqmPathTimeResolution"),
793 config.getUntrackedParameter<
double>(
"dqmPathMemoryRange"),
794 config.getUntrackedParameter<
double>(
"dqmPathMemoryResolution")}),
796 config.getUntrackedParameter<
double>(
"dqmModuleTimeResolution"),
797 config.getUntrackedParameter<
double>(
"dqmModuleMemoryRange"),
798 config.getUntrackedParameter<
double>(
"dqmModuleMemoryResolution")}),
806 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 1673 of file FastTimerService.cc.
1675 desc.addUntracked<
bool>(
"printEventSummary",
false);
1676 desc.addUntracked<
bool>(
"printRunSummary",
true);
1677 desc.addUntracked<
bool>(
"printJobSummary",
true);
1682 desc.addUntracked<
bool>(
"writeJSONSummary",
false);
1685 desc.addUntracked<
bool>(
"enableDQM",
true);
1686 desc.addUntracked<
bool>(
"enableDQMbyModule",
false);
1687 desc.addUntracked<
bool>(
"enableDQMbyPath",
false);
1688 desc.addUntracked<
bool>(
"enableDQMbyLumiSection",
false);
1689 desc.addUntracked<
bool>(
"enableDQMbyProcesses",
false);
1690 desc.addUntracked<
bool>(
"enableDQMTransitions",
false);
1691 desc.addUntracked<
double>(
"dqmTimeRange", 1000.);
1692 desc.addUntracked<
double>(
"dqmTimeResolution", 5.);
1693 desc.addUntracked<
double>(
"dqmMemoryRange", 1000000.);
1694 desc.addUntracked<
double>(
"dqmMemoryResolution", 5000.);
1695 desc.addUntracked<
double>(
"dqmPathTimeRange", 100.);
1696 desc.addUntracked<
double>(
"dqmPathTimeResolution", 0.5);
1697 desc.addUntracked<
double>(
"dqmPathMemoryRange", 1000000.);
1698 desc.addUntracked<
double>(
"dqmPathMemoryResolution", 5000.);
1699 desc.addUntracked<
double>(
"dqmModuleTimeRange", 40.);
1700 desc.addUntracked<
double>(
"dqmModuleTimeResolution", 0.2);
1701 desc.addUntracked<
double>(
"dqmModuleMemoryRange", 100000.);
1702 desc.addUntracked<
double>(
"dqmModuleMemoryResolution", 500.);
1703 desc.addUntracked<
unsigned>(
"dqmLumiSectionsRange", 2500);
1707 highlightModulesDescription.
addUntracked<std::vector<std::string>>(
"modules", {});
1708 highlightModulesDescription.addUntracked<
std::string>(
"label",
"producers");
1709 desc.addVPSetUntracked(
"highlightModules", highlightModulesDescription, {});
1714 ->setComment(
"This parameter is obsolete and will be ignored.");
1716 ->setComment(
"This parameter is obsolete and will be ignored.");
1718 ->setComment(
"This parameter is obsolete and will be ignored.");
1720 ->setComment(
"This parameter is obsolete and will be ignored.");
1722 ->setComment(
"This parameter is obsolete and will be ignored.");
1724 ->setComment(
"This parameter is obsolete and will be ignored.");
1726 ->setComment(
"This parameter is obsolete and will be ignored.");
1728 ->setComment(
"This parameter is obsolete and will be ignored.");
1730 ->setComment(
"This parameter is obsolete and will be ignored.");
1732 ->setComment(
"This parameter is obsolete and will be ignored.");
1734 ->setComment(
"This parameter is obsolete and will be ignored.");
1736 ->setComment(
"This parameter is obsolete and will be ignored.");
1738 ->setComment(
"This parameter is obsolete and will be ignored.");
1740 ->setComment(
"This parameter is obsolete and will be ignored.");
1742 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 879 of file FastTimerService.cc.
880 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 1420 of file FastTimerService.cc.
1424 unsigned int sid = sc.streamID();
1430 for (
unsigned int id :
process.modules_)
1440 stream.event_measurement.measure_and_store(
stream.event);
1443 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 1502 of file FastTimerService.cc.
1505 unsigned int sid = sc.streamID().value();
1507 unsigned int id = pc.pathID();
1509 auto&
data = pc.isEndPath() ?
stream.processes[pid].endpaths[
id] :
stream.processes[pid].paths[
id];
1513 unsigned int index =
path.modules_on_path_.empty() ? 0 :
status.index() + 1;
1514 data.last =
path.modules_on_path_.empty() ? 0 :
path.last_dependency_of_module_[
status.index()];
1516 for (
unsigned int i = 0;
i <
index; ++
i) {
1517 auto const& module =
stream.modules[
path.modules_on_path_[
i]];
1518 data.active += module.total;
1520 for (
unsigned int i = 0;
i <
data.last; ++
i) {
1521 auto const& module =
stream.modules[
path.modules_and_dependencies_[
i]];
1522 data.total += module.total;
References data, mps_fire::i, triggerObjects_cff::id, edm::PathContext::isEndPath(), 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 |
◆ 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 1299 of file FastTimerService.cc.
1303 auto const&
source =
data.modules[source_d.id()];
1309 for (
unsigned int m : proc_d.modules_) {
1311 auto const& module =
data.modules[
m];
1324 for (
unsigned int p = 0;
p <
proc.paths.size(); ++
p) {
1325 auto const&
name = proc_d.paths_[
p].name_;
1329 for (
unsigned int p = 0;
p <
proc.endpaths.size(); ++
p) {
1330 auto const&
name = proc_d.endPaths_[
p].name_;
1342 auto const& module =
data.modules[
m];
References data, watchdog::group, mps_fire::i, label, visualization-live-secondInstance_cfg::m, 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 1233 of file FastTimerService.cc.
1235 out << fmt::sprintf(
1237 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1240 (active ? ms(
data.time_thread) / active : 0),
1242 (active ? ms(
data.time_real) / active : 0),
1244 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1246 (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 1267 of file FastTimerService.cc.
1269 out << fmt::sprintf(
1270 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1272 (active ? ms(
data.time_thread) / active : 0),
1274 (active ? ms(
data.time_real) / active : 0),
1276 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1278 (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 884 of file FastTimerService.cc.
887 edm::LogWarning(
"FastTimerService") <<
"The FastTimerService received the unsupported signal \"" << signal
889 <<
"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 1374 of file FastTimerService.cc.
1379 json{{
"time_thread",
"cpu time"}},
1380 json{{
"mem_alloc",
"allocated memory"}},
1381 json{{
"mem_free",
"deallocated memory"}}});
1390 auto const& data_m =
data.modules[
i];
1398 out << std::setw(2) <<
j << std::flush;
References mps_check::array, data, corrVsCorr::filename, mps_fire::i, dqmiolumiharvest::j, 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 |
◆ 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_
◆ threads_
tbb::enumerable_thread_specific<Measurement, tbb::cache_aligned_allocator<Measurement>, tbb::ets_key_per_instance> FastTimerService::threads_ |
|
private |
◆ 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 &)
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_
tbb::enumerable_thread_specific< Measurement, tbb::cache_aligned_allocator< Measurement >, tbb::ets_key_per_instance > threads_
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)
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 &)