#include <Path.h>
Public Types | |
typedef WorkersInPath::size_type | size_type |
typedef hlt::HLTState | State |
typedef boost::shared_ptr < HLTGlobalStatus > | TrigResPtr |
typedef std::vector< WorkerInPath > | WorkersInPath |
Public Member Functions | |
int | bitPosition () const |
void | clearCounters () |
Worker const * | getWorker (size_type i) const |
std::string const & | name () const |
Path (int bitpos, std::string const &path_name, WorkersInPath const &workers, TrigResPtr trptr, ExceptionToActionTable const &actions, boost::shared_ptr< ActivityRegistry > reg, StreamContext const *streamContext, PathContext::PathType pathType) | |
Path (Path const &) | |
template<typename T > | |
void | processOneOccurrence (typename T::MyPrincipal &, EventSetup const &, StreamID const &, typename T::Context const *) |
void | setEarlyDeleteHelpers (std::map< const Worker *, EarlyDeleteHelper * > const &) |
size_type | size () const |
State | state () const |
std::pair< double, double > | timeCpuReal () const |
std::pair< double, double > | timeCpuReal (unsigned int const i) const |
int | timesExcept () const |
int | timesExcept (size_type i) const |
int | timesFailed () const |
int | timesFailed (size_type i) const |
int | timesPassed () const |
int | timesPassed (size_type i) const |
int | timesRun () const |
int | timesVisited (size_type i) const |
void | useStopwatch () |
Private Member Functions | |
void | handleEarlyFinish (EventPrincipal &) |
void | handleEarlyFinish (RunPrincipal &) |
void | handleEarlyFinish (LuminosityBlockPrincipal &) |
bool | handleWorkerFailure (cms::Exception &e, int nwrwue, bool isEvent, bool begin, BranchType branchType, ModuleDescription const &, std::string const &id) |
Path const & | operator= (Path const &)=delete |
void | recordStatus (int nwrwue, bool isEvent) |
void | updateCounters (bool succeed, bool isEvent) |
Static Private Member Functions | |
static void | exceptionContext (cms::Exception &ex, bool isEvent, bool begin, BranchType branchType, ModuleDescription const &, std::string const &id, PathContext const &) |
Private Attributes | |
ExceptionToActionTable const * | act_table_ |
boost::shared_ptr < ActivityRegistry > | actReg_ |
int | bitpos_ |
std::vector< EarlyDeleteHelper * > | earlyDeleteHelpers_ |
PathContext | pathContext_ |
State | state_ |
RunStopwatch::StopwatchPointer | stopwatch_ |
int | timesExcept_ |
int | timesFailed_ |
int | timesPassed_ |
int | timesRun_ |
TrigResPtr | trptr_ |
WorkersInPath | workers_ |
typedef WorkersInPath::size_type edm::Path::size_type |
typedef hlt::HLTState edm::Path::State |
typedef boost::shared_ptr<HLTGlobalStatus> edm::Path::TrigResPtr |
typedef std::vector<WorkerInPath> edm::Path::WorkersInPath |
edm::Path::Path | ( | int | bitpos, |
std::string const & | path_name, | ||
WorkersInPath const & | workers, | ||
TrigResPtr | trptr, | ||
ExceptionToActionTable const & | actions, | ||
boost::shared_ptr< ActivityRegistry > | reg, | ||
StreamContext const * | streamContext, | ||
PathContext::PathType | pathType | ||
) |
edm::Path::Path | ( | Path const & | r | ) |
Definition at line 38 of file Path.cc.
References pathContext_, and workers_.
|
inline |
Definition at line 64 of file Path.h.
References bitpos_.
Referenced by edm::fillPathSummary(), and edm::fillPathTimingSummary().
void edm::Path::clearCounters | ( | ) |
Definition at line 161 of file Path.cc.
References edm::WorkerInPath::clearCounters(), edm::for_all(), timesExcept_, timesFailed_, timesPassed_, timesRun_, and workers_.
Referenced by edm::StreamSchedule::clearCounters().
|
staticprivate |
Definition at line 104 of file Path.cc.
References cms::Exception::addContext(), edm::InLumi, edm::InRun, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), and edm::PathContext::pathName().
Referenced by handleWorkerFailure().
Definition at line 92 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary(), edm::fillModuleInPathTimingSummary(), and setEarlyDeleteHelpers().
|
private |
Definition at line 194 of file Path.cc.
References earlyDeleteHelpers_.
Referenced by processOneOccurrence().
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 60 of file Path.cc.
References act_table_, alignCSCRings::action, cms::Exception::addAdditionalInfo(), cms::Exception::category(), edm::Exception::codeToString(), edm::hlt::Exception, exceptionContext(), edm::exception_actions::FailPath, edm::ExceptionToActionTable::find(), pathContext_, edm::printCmsExceptionWarning(), edm::errors::ProductNotFound, recordStatus(), edm::exception_actions::Rethrow, state_, AlCaHLTBitMon_QueryRunRegistry::string, and timesExcept_.
Referenced by processOneOccurrence().
|
inline |
Definition at line 65 of file Path.h.
References pathContext_, and edm::PathContext::pathName().
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), edm::StreamSchedule::availablePaths(), edm::fillPathSummary(), edm::fillPathTimingSummary(), edm::StreamSchedule::modulesInPath(), and Vispa.Views.PropertyView.Property::valueChanged().
void edm::Path::processOneOccurrence | ( | typename T::MyPrincipal & | ep, |
EventSetup const & | es, | ||
StreamID const & | streamID, | ||
typename T::Context const * | context | ||
) |
Definition at line 169 of file Path.h.
References actReg_, end, handleEarlyFinish(), handleWorkerFailure(), i, pathContext_, edm::hlt::Ready, recordStatus(), state_, stopwatch_, timesRun_, updateCounters(), workers_, and edm::convertException::wrap().
|
private |
Definition at line 143 of file Path.cc.
References bitpos_, state_, and trptr_.
Referenced by handleWorkerFailure(), and processOneOccurrence().
void edm::Path::setEarlyDeleteHelpers | ( | std::map< const Worker *, EarlyDeleteHelper * > const & | iWorkerToDeleter | ) |
Definition at line 177 of file Path.cc.
References earlyDeleteHelpers_, newFWLiteAna::found, getWorker(), cmsHarvester::index, size(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 87 of file Path.h.
References workers_.
Referenced by edm::fillPathSummary(), edm::fillPathTimingSummary(), and setEarlyDeleteHelpers().
|
inline |
Definition at line 67 of file Path.h.
References stopwatch_.
Referenced by edm::fillModuleInPathTimingSummary(), and edm::fillPathTimingSummary().
|
inline |
|
inline |
Definition at line 83 of file Path.h.
References timesExcept_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 82 of file Path.h.
References timesFailed_.
Referenced by edm::fillModuleInPathSummary(), edm::fillModuleInPathTimingSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 81 of file Path.h.
References timesPassed_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 80 of file Path.h.
References timesRun_.
Referenced by edm::fillPathSummary(), and edm::fillPathTimingSummary().
|
inline |
Definition at line 88 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillModuleInPathTimingSummary().
|
private |
Definition at line 150 of file Path.cc.
References edm::hlt::Fail, edm::hlt::Pass, state_, timesFailed_, and timesPassed_.
Referenced by processOneOccurrence().
void edm::Path::useStopwatch | ( | ) |
|
private |
Definition at line 114 of file Path.h.
Referenced by handleWorkerFailure().
|
private |
Definition at line 113 of file Path.h.
Referenced by processOneOccurrence().
|
private |
Definition at line 111 of file Path.h.
Referenced by bitPosition(), and recordStatus().
|
private |
Definition at line 117 of file Path.h.
Referenced by handleEarlyFinish(), and setEarlyDeleteHelpers().
|
private |
Definition at line 119 of file Path.h.
Referenced by handleWorkerFailure(), name(), Path(), and processOneOccurrence().
|
private |
Definition at line 109 of file Path.h.
Referenced by handleWorkerFailure(), processOneOccurrence(), recordStatus(), state(), and updateCounters().
|
private |
Definition at line 103 of file Path.h.
Referenced by processOneOccurrence(), timeCpuReal(), and useStopwatch().
|
private |
Definition at line 107 of file Path.h.
Referenced by clearCounters(), handleWorkerFailure(), and timesExcept().
|
private |
Definition at line 106 of file Path.h.
Referenced by clearCounters(), timesFailed(), and updateCounters().
|
private |
Definition at line 105 of file Path.h.
Referenced by clearCounters(), timesPassed(), and updateCounters().
|
private |
Definition at line 104 of file Path.h.
Referenced by clearCounters(), processOneOccurrence(), and timesRun().
|
private |
Definition at line 112 of file Path.h.
Referenced by recordStatus().
|
private |
Definition at line 116 of file Path.h.
Referenced by clearCounters(), getWorker(), Path(), processOneOccurrence(), size(), timeCpuReal(), timesExcept(), timesFailed(), timesPassed(), timesVisited(), and useStopwatch().