|
|
#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 761 of file FastTimerService.cc.
786 config.getUntrackedParameter<
double>(
"dqmTimeResolution"),
787 config.getUntrackedParameter<
double>(
"dqmMemoryRange"),
788 config.getUntrackedParameter<
double>(
"dqmMemoryResolution")}),
790 config.getUntrackedParameter<
double>(
"dqmPathTimeResolution"),
791 config.getUntrackedParameter<
double>(
"dqmPathMemoryRange"),
792 config.getUntrackedParameter<
double>(
"dqmPathMemoryResolution")}),
794 config.getUntrackedParameter<
double>(
"dqmModuleTimeResolution"),
795 config.getUntrackedParameter<
double>(
"dqmModuleMemoryRange"),
796 config.getUntrackedParameter<
double>(
"dqmModuleMemoryResolution")}),
804 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 1650 of file FastTimerService.cc.
1665 desc.
addUntracked<
bool>(
"enableDQMbyLumiSection",
false);
1666 desc.
addUntracked<
bool>(
"enableDQMbyProcesses",
false);
1667 desc.
addUntracked<
bool>(
"enableDQMTransitions",
false);
1669 desc.addUntracked<
double>(
"dqmTimeResolution", 5.);
1670 desc.addUntracked<
double>(
"dqmMemoryRange", 1000000.);
1671 desc.addUntracked<
double>(
"dqmMemoryResolution", 5000.);
1672 desc.addUntracked<
double>(
"dqmPathTimeRange", 100.);
1673 desc.addUntracked<
double>(
"dqmPathTimeResolution", 0.5);
1674 desc.addUntracked<
double>(
"dqmPathMemoryRange", 1000000.);
1675 desc.addUntracked<
double>(
"dqmPathMemoryResolution", 5000.);
1676 desc.addUntracked<
double>(
"dqmModuleTimeRange", 40.);
1677 desc.addUntracked<
double>(
"dqmModuleTimeResolution", 0.2);
1678 desc.addUntracked<
double>(
"dqmModuleMemoryRange", 100000.);
1679 desc.addUntracked<
double>(
"dqmModuleMemoryResolution", 500.);
1680 desc.addUntracked<
unsigned>(
"dqmLumiSectionsRange", 2500);
1681 desc.addUntracked<
std::string>(
"dqmPath",
"HLT/TimerService");
1684 highlightModulesDescription.
addUntracked<std::vector<std::string>>(
"modules", {});
1685 highlightModulesDescription.addUntracked<
std::string>(
"label",
"producers");
1686 desc.addVPSetUntracked(
"highlightModules", highlightModulesDescription, {});
1691 ->setComment(
"This parameter is obsolete and will be ignored.");
1693 ->setComment(
"This parameter is obsolete and will be ignored.");
1695 ->setComment(
"This parameter is obsolete and will be ignored.");
1697 ->setComment(
"This parameter is obsolete and will be ignored.");
1699 ->setComment(
"This parameter is obsolete and will be ignored.");
1701 ->setComment(
"This parameter is obsolete and will be ignored.");
1703 ->setComment(
"This parameter is obsolete and will be ignored.");
1705 ->setComment(
"This parameter is obsolete and will be ignored.");
1707 ->setComment(
"This parameter is obsolete and will be ignored.");
1709 ->setComment(
"This parameter is obsolete and will be ignored.");
1711 ->setComment(
"This parameter is obsolete and will be ignored.");
1713 ->setComment(
"This parameter is obsolete and will be ignored.");
1715 ->setComment(
"This parameter is obsolete and will be ignored.");
1717 ->setComment(
"This parameter is obsolete and will be ignored.");
1719 descriptions.
add(
"FastTimerService", desc);
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addOptionalNode(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addVPSetUntracked(), edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ ignoredSignal()
void FastTimerService::ignoredSignal |
( |
const std::string & |
signal | ) |
const |
|
private |
Definition at line 877 of file FastTimerService.cc.
878 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 1397 of file FastTimerService.cc.
1401 unsigned int sid = sc.streamID();
1407 for (
unsigned int id :
process.modules_)
1417 stream.event_measurement.measure_and_store(
stream.event);
1420 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 1479 of file FastTimerService.cc.
1482 unsigned int sid = sc.streamID().value();
1484 unsigned int id = pc.pathID();
1486 auto&
data = pc.isEndPath() ?
stream.processes[pid].endpaths[
id] :
stream.processes[pid].paths[
id];
1490 unsigned int index =
path.modules_on_path_.empty() ? 0 :
status.index() + 1;
1491 data.last =
path.modules_on_path_.empty() ? 0 :
path.last_dependency_of_module_[
status.index()];
1493 for (
unsigned int i = 0;
i <
index; ++
i) {
1497 for (
unsigned int i = 0;
i <
data.last; ++
i) {
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 1276 of file FastTimerService.cc.
1280 auto const&
source =
data.modules[source_d.id()];
1286 for (
unsigned int m : proc_d.modules_) {
1301 for (
unsigned int p = 0;
p <
proc.paths.size(); ++
p) {
1302 auto const&
name = proc_d.paths_[
p].name_;
1306 for (
unsigned int p = 0;
p <
proc.endpaths.size(); ++
p) {
1307 auto const&
name = proc_d.endPaths_[
p].name_;
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 |
◆ 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 |
◆ 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 882 of file FastTimerService.cc.
885 edm::LogWarning(
"FastTimerService") <<
"The FastTimerService received the unsupported signal \"" << signal
887 <<
"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 1351 of file FastTimerService.cc.
1356 json{{
"time_thread",
"cpu time"}},
1357 json{{
"mem_alloc",
"allocated memory"}},
1358 json{{
"mem_free",
"deallocated memory"}}});
1367 auto const& data_m =
data.modules[
i];
1375 out << std::setw(2) <<
j << std::flush;
References mps_check::array, data, corrVsCorr::filename, mps_fire::i, dqmiolumiharvest::j, module::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 |
◆ 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_
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 &)