|
|
#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.
770 : tbb::task_scheduler_observer(
true),
795 config.getUntrackedParameter<
double>(
"dqmTimeResolution"),
796 config.getUntrackedParameter<
double>(
"dqmMemoryRange"),
797 config.getUntrackedParameter<
double>(
"dqmMemoryResolution")}),
799 config.getUntrackedParameter<
double>(
"dqmPathTimeResolution"),
800 config.getUntrackedParameter<
double>(
"dqmPathMemoryRange"),
801 config.getUntrackedParameter<
double>(
"dqmPathMemoryResolution")}),
803 config.getUntrackedParameter<
double>(
"dqmModuleTimeResolution"),
804 config.getUntrackedParameter<
double>(
"dqmModuleMemoryRange"),
805 config.getUntrackedParameter<
double>(
"dqmModuleMemoryResolution")}),
813 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 1734 of file FastTimerService.cc.
1736 desc.addUntracked<
bool>(
"printEventSummary",
false);
1737 desc.addUntracked<
bool>(
"printRunSummary",
true);
1738 desc.addUntracked<
bool>(
"printJobSummary",
true);
1743 desc.addUntracked<
bool>(
"writeJSONSummary",
false);
1746 desc.addUntracked<
bool>(
"enableDQM",
true);
1747 desc.addUntracked<
bool>(
"enableDQMbyModule",
false);
1748 desc.addUntracked<
bool>(
"enableDQMbyPath",
false);
1749 desc.addUntracked<
bool>(
"enableDQMbyLumiSection",
false);
1750 desc.addUntracked<
bool>(
"enableDQMbyProcesses",
false);
1751 desc.addUntracked<
bool>(
"enableDQMTransitions",
false);
1752 desc.addUntracked<
double>(
"dqmTimeRange", 1000.);
1753 desc.addUntracked<
double>(
"dqmTimeResolution", 5.);
1754 desc.addUntracked<
double>(
"dqmMemoryRange", 1000000.);
1755 desc.addUntracked<
double>(
"dqmMemoryResolution", 5000.);
1756 desc.addUntracked<
double>(
"dqmPathTimeRange", 100.);
1757 desc.addUntracked<
double>(
"dqmPathTimeResolution", 0.5);
1758 desc.addUntracked<
double>(
"dqmPathMemoryRange", 1000000.);
1759 desc.addUntracked<
double>(
"dqmPathMemoryResolution", 5000.);
1760 desc.addUntracked<
double>(
"dqmModuleTimeRange", 40.);
1761 desc.addUntracked<
double>(
"dqmModuleTimeResolution", 0.2);
1762 desc.addUntracked<
double>(
"dqmModuleMemoryRange", 100000.);
1763 desc.addUntracked<
double>(
"dqmModuleMemoryResolution", 500.);
1764 desc.addUntracked<
unsigned>(
"dqmLumiSectionsRange", 2500);
1768 highlightModulesDescription.
addUntracked<std::vector<std::string>>(
"modules", {});
1769 highlightModulesDescription.addUntracked<
std::string>(
"label",
"producers");
1770 desc.addVPSetUntracked(
"highlightModules", highlightModulesDescription, {});
1775 ->setComment(
"This parameter is obsolete and will be ignored.");
1777 ->setComment(
"This parameter is obsolete and will be ignored.");
1779 ->setComment(
"This parameter is obsolete and will be ignored.");
1781 ->setComment(
"This parameter is obsolete and will be ignored.");
1783 ->setComment(
"This parameter is obsolete and will be ignored.");
1785 ->setComment(
"This parameter is obsolete and will be ignored.");
1787 ->setComment(
"This parameter is obsolete and will be ignored.");
1789 ->setComment(
"This parameter is obsolete and will be ignored.");
1791 ->setComment(
"This parameter is obsolete and will be ignored.");
1793 ->setComment(
"This parameter is obsolete and will be ignored.");
1795 ->setComment(
"This parameter is obsolete and will be ignored.");
1797 ->setComment(
"This parameter is obsolete and will be ignored.");
1799 ->setComment(
"This parameter is obsolete and will be ignored.");
1801 ->setComment(
"This parameter is obsolete and will be ignored.");
1803 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 886 of file FastTimerService.cc.
887 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 1430 of file FastTimerService.cc.
1434 unsigned int sid = sc.streamID();
1440 for (
unsigned int id :
process.modules_)
1450 stream.event_measurement.measure_and_store(
stream.event);
1453 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 1512 of file FastTimerService.cc.
1515 unsigned int sid = sc.streamID().value();
1517 unsigned int id = pc.pathID();
1519 auto&
data = pc.isEndPath() ?
stream.processes[pid].endpaths[
id] :
stream.processes[pid].paths[
id];
1523 unsigned int index =
path.modules_on_path_.empty() ? 0 :
status.index() + 1;
1524 data.last =
path.modules_on_path_.empty() ? 0 :
path.last_dependency_of_module_[
status.index()];
1526 for (
unsigned int i = 0;
i <
index; ++
i) {
1527 auto const& module =
stream.modules[
path.modules_on_path_[
i]];
1528 data.active += module.total;
1530 for (
unsigned int i = 0;
i <
data.last; ++
i) {
1531 auto const& module =
stream.modules[
path.modules_and_dependencies_[
i]];
1532 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 1309 of file FastTimerService.cc.
1313 auto const&
source =
data.modules[source_d.id()];
1319 for (
unsigned int m : proc_d.modules_) {
1321 auto const& module =
data.modules[
m];
1334 for (
unsigned int p = 0;
p <
proc.paths.size(); ++
p) {
1335 auto const&
name = proc_d.paths_[
p].name_;
1339 for (
unsigned int p = 0;
p <
proc.endpaths.size(); ++
p) {
1340 auto const&
name = proc_d.endPaths_[
p].name_;
1352 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 1243 of file FastTimerService.cc.
1245 out << fmt::sprintf(
1247 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1250 (active ? ms(
data.time_thread) / active : 0),
1252 (active ? ms(
data.time_real) / active : 0),
1254 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1256 (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 1277 of file FastTimerService.cc.
1279 out << fmt::sprintf(
1280 "FastReport %10.1f ms %10.1f ms %10.1f ms %10.1f ms %+10d kB %+10d kB %+10d kB %+10d kB %s\n",
1282 (active ? ms(
data.time_thread) / active : 0),
1284 (active ? ms(
data.time_real) / active : 0),
1286 (active ? +static_cast<int64_t>(kB(
data.allocated) / active) : 0),
1288 (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 891 of file FastTimerService.cc.
894 edm::LogWarning(
"FastTimerService") <<
"The FastTimerService received the unsupported signal \"" << signal
896 <<
"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 1384 of file FastTimerService.cc.
1389 json{{
"time_thread",
"cpu time"}},
1390 json{{
"mem_alloc",
"allocated memory"}},
1391 json{{
"mem_free",
"deallocated memory"}}});
1400 auto const& data_m =
data.modules[
i];
1408 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 |
◆ 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 &)
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 &)