#include <WorkerInPath.h>
Public Types | |
enum | FilterAction { Normal =0, Ignore, Veto } |
Public Member Functions | |
void | clearCounters () |
FilterAction | filterAction () const |
Worker * | getWorker () const |
template<typename T > | |
bool | runWorker (typename T::MyPrincipal &, EventSetup const &, CurrentProcessingContext const *cpc) |
std::pair< double, double > | timeCpuReal () const |
int | timesExcept () const |
int | timesFailed () const |
int | timesPassed () const |
int | timesVisited () const |
void | useStopwatch () |
WorkerInPath (Worker *) | |
WorkerInPath (Worker *, FilterAction theAction) | |
Private Attributes | |
FilterAction | filterAction_ |
RunStopwatch::StopwatchPointer | stopwatch_ |
int | timesExcept_ |
int | timesFailed_ |
int | timesPassed_ |
int | timesVisited_ |
Worker * | worker_ |
Definition at line 20 of file WorkerInPath.h.
Enumerator | |
---|---|
Normal | |
Ignore | |
Veto |
Definition at line 22 of file WorkerInPath.h.
|
explicit |
Definition at line 17 of file WorkerInPath.cc.
edm::WorkerInPath::WorkerInPath | ( | Worker * | w, |
FilterAction | theAction | ||
) |
Definition at line 6 of file WorkerInPath.cc.
|
inline |
Definition at line 38 of file WorkerInPath.h.
References timesExcept_, timesFailed_, timesPassed_, and timesVisited_.
Referenced by edm::Path::clearCounters().
|
inline |
|
inline |
bool edm::WorkerInPath::runWorker | ( | typename T::MyPrincipal & | ep, |
EventSetup const & | es, | ||
CurrentProcessingContext const * | cpc | ||
) |
Definition at line 64 of file WorkerInPath.h.
References edm::Worker::doWork(), filterAction_, Ignore, stopwatch_, timesExcept_, timesFailed_, timesPassed_, timesVisited_, Veto, and worker_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void edm::WorkerInPath::useStopwatch | ( | ) |
|
private |
Definition at line 59 of file WorkerInPath.h.
Referenced by filterAction(), and runWorker().
|
private |
Definition at line 52 of file WorkerInPath.h.
Referenced by runWorker(), timeCpuReal(), and useStopwatch().
|
private |
Definition at line 57 of file WorkerInPath.h.
Referenced by clearCounters(), runWorker(), and timesExcept().
|
private |
Definition at line 56 of file WorkerInPath.h.
Referenced by clearCounters(), runWorker(), and timesFailed().
|
private |
Definition at line 55 of file WorkerInPath.h.
Referenced by clearCounters(), runWorker(), and timesPassed().
|
private |
Definition at line 54 of file WorkerInPath.h.
Referenced by clearCounters(), runWorker(), and timesVisited().
|
private |
Definition at line 60 of file WorkerInPath.h.
Referenced by getWorker(), and runWorker().