#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, ActionTable const &actions, boost::shared_ptr< ActivityRegistry > reg, bool isEndPath) | |
template<typename T > | |
void | processOneOccurrence (typename T::MyPrincipal &, EventSetup 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 | |
bool | handleWorkerFailure (cms::Exception const &e, int nwrwue, bool isEvent) |
void | recordStatus (int nwrwue, bool isEvent) |
void | recordUnknownException (int nwrwue, bool isEvent) |
void | updateCounters (bool succeed, bool isEvent) |
Private Attributes | |
ActionTable const * | act_table_ |
boost::shared_ptr < ActivityRegistry > | actReg_ |
int | bitpos_ |
bool | isEndPath_ |
std::string | name_ |
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, | ||
ActionTable const & | actions, | ||
boost::shared_ptr< ActivityRegistry > | reg, | ||
bool | isEndPath | ||
) |
|
inline |
Definition at line 47 of file Path.h.
References bitpos_.
Referenced by edm::fillPathSummary(), and processOneOccurrence().
void edm::Path::clearCounters | ( | ) |
Definition at line 100 of file Path.cc.
References edm::WorkerInPath::clearCounters(), edm::for_all(), timesExcept_, timesFailed_, timesPassed_, timesRun_, and workers_.
Referenced by edm::Schedule::clearCounters().
Definition at line 75 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary().
|
private |
Definition at line 33 of file Path.cc.
References act_table_, alignmentValidation::action, cms::Exception::category(), edm::Exception::codeToString(), edm::hlt::Exception, edm::actions::FailModule, edm::actions::FailPath, edm::ActionTable::find(), name_, edm::errors::ProductNotFound, recordStatus(), edm::actions::Rethrow, cms::Exception::rootCause(), state_, timesExcept_, and cms::Exception::what().
Referenced by processOneOccurrence().
|
inline |
Definition at line 48 of file Path.h.
References name_.
Referenced by BeautifulSoup.Tag::_invert(), edm::Schedule::availablePaths(), edm::fillPathSummary(), edm::Schedule::modulesInPath(), and python.Vispa.Views.PropertyView.Property::valueChanged().
void edm::Path::processOneOccurrence | ( | typename T::MyPrincipal & | ep, |
EventSetup const & | es | ||
) |
Definition at line 129 of file Path.h.
References edm::CurrentProcessingContext::activate(), actReg_, bitPosition(), ExpressReco_HICollisions_FallBack::e, end, handleWorkerFailure(), i, isEndPath_, name_, edm::hlt::Ready, recordStatus(), recordUnknownException(), state_, stopwatch_, timesRun_, updateCounters(), and workers_.
Referenced by edm::ProcessOneOccurrence< T >::operator()().
|
private |
Definition at line 82 of file Path.cc.
References bitpos_, and state_.
Referenced by handleWorkerFailure(), processOneOccurrence(), and recordUnknownException().
|
private |
Definition at line 73 of file Path.cc.
References edm::hlt::Exception, name_, recordStatus(), state_, and timesExcept_.
Referenced by processOneOccurrence().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 66 of file Path.h.
References timesExcept_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 65 of file Path.h.
References timesFailed_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 64 of file Path.h.
References timesPassed_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
|
inline |
Definition at line 71 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary().
|
private |
Definition at line 89 of file Path.cc.
References edm::hlt::Fail, edm::hlt::Pass, state_, timesFailed_, and timesPassed_.
Referenced by processOneOccurrence().
void edm::Path::useStopwatch | ( | ) |
Definition at line 106 of file Path.cc.
References stopwatch_, and workers_.
Referenced by edm::Schedule::fillEndPath(), and edm::Schedule::fillTrigPath().
|
private |
Definition at line 91 of file Path.h.
Referenced by handleWorkerFailure().
|
private |
Definition at line 90 of file Path.h.
Referenced by processOneOccurrence().
|
private |
Definition at line 87 of file Path.h.
Referenced by bitPosition(), and recordStatus().
|
private |
Definition at line 95 of file Path.h.
Referenced by processOneOccurrence().
|
private |
Definition at line 88 of file Path.h.
Referenced by Config.Process::fillProcessDesc(), handleWorkerFailure(), name(), processOneOccurrence(), and recordUnknownException().
|
private |
Definition at line 85 of file Path.h.
Referenced by handleWorkerFailure(), processOneOccurrence(), recordStatus(), recordUnknownException(), state(), and updateCounters().
|
private |
Definition at line 79 of file Path.h.
Referenced by processOneOccurrence(), timeCpuReal(), and useStopwatch().
|
private |
Definition at line 83 of file Path.h.
Referenced by clearCounters(), handleWorkerFailure(), recordUnknownException(), and timesExcept().
|
private |
Definition at line 82 of file Path.h.
Referenced by clearCounters(), timesFailed(), and updateCounters().
|
private |
Definition at line 81 of file Path.h.
Referenced by clearCounters(), timesPassed(), and updateCounters().
|
private |
Definition at line 80 of file Path.h.
Referenced by clearCounters(), processOneOccurrence(), and timesRun().
|
private |
|
private |
Definition at line 93 of file Path.h.
Referenced by clearCounters(), getWorker(), processOneOccurrence(), size(), timeCpuReal(), timesExcept(), timesFailed(), timesPassed(), timesVisited(), and useStopwatch().