#include <R2DTimerObserver.h>
Classes | |
class | LastMeasurement |
Public Member Functions | |
void | init (const std::string &name) |
TimingReport::Item & | item () |
const LastMeasurement & | lastMeasurement () |
R2DTimerObserver () | |
R2DTimerObserver (const std::string name) | |
void | start () |
void | stop () |
Public Member Functions inherited from BaseEvent< T > | |
virtual | ~BaseEvent () |
Private Types | |
typedef TimingReport::ItemObserver::event | TimerState |
Private Member Functions | |
virtual void | operator() (const TimerState &timerState) |
from base class More... | |
Private Attributes | |
TimerState | lastState |
LastMeasurement | theMeasurement |
TimingReport::Item * | timer_item |
Additional Inherited Members | |
Public Types inherited from BaseEvent< T > | |
typedef T | event |
utility to get the real/cpu time betwen last TimingReport::Item start-stop. actual timer initialisation by initTiming(..) from PixelRecoUtilities. example usage: R2DTimerObserver tm("timer name"); .... { TimeMe t(tm.item(),false); ... } last_real = tm.lastMeasurement().real();
Definition at line 7 of file R2DTimerObserver.h.
|
private |
Definition at line 19 of file R2DTimerObserver.h.
|
inline |
Definition at line 49 of file R2DTimerObserver.h.
|
inline |
|
inline |
Definition at line 43 of file R2DTimerObserver.h.
References TimingReport::current(), TimingReport::Item::setObs(), TimingReport::Item::switchCPU(), and timer_item.
Referenced by R2DTimerObserver().
|
inline |
Definition at line 53 of file R2DTimerObserver.h.
References timer_item.
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), and Vispa.Views.TableView.TableView::selection().
|
inline |
Definition at line 52 of file R2DTimerObserver.h.
References theMeasurement.
Referenced by SiPixelRawToDigi::produce(), and SiPixelDigiToRaw::produce().
|
inlineprivatevirtual |
from base class
Implements BaseEvent< T >.
Definition at line 35 of file R2DTimerObserver.h.
References lastState, and theMeasurement.
|
inline |
Definition at line 55 of file R2DTimerObserver.h.
References TimingReport::Item::start(), and timer_item.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), SiPixelRawToDigi::produce(), and SiPixelDigiToRaw::produce().
|
inline |
Definition at line 56 of file R2DTimerObserver.h.
References TimingReport::Item::stop(), and timer_item.
Referenced by SiPixelRawToDigi::produce(), and SiPixelDigiToRaw::produce().
|
private |
Definition at line 31 of file R2DTimerObserver.h.
Referenced by operator()().
|
private |
Definition at line 32 of file R2DTimerObserver.h.
Referenced by lastMeasurement(), and operator()().
|
private |