#include <TimingReport.h>
Public Member Functions | |
std::pair< double, double > | lap () const |
TimeMe (const std::string &name, bool cpu=true) | |
TimeMe (TimingReport::Item &iitem, bool cpu=true) | |
~TimeMe () | |
Private Attributes | |
TimingReport::Item & | item |
a class to time a "scope" to be used as a "Sentry".
Just create a TimeMe object giving it a name; exiting the scope the object will be deleted; the constuctor starts the timing. the destructor stops it.
Definition at line 124 of file TimingReport.h.
|
inlineexplicit |
Definition at line 128 of file TimingReport.h.
References item, TimingReport::Item::start(), and TimingReport::Item::switchCPU().
|
inlineexplicit |
Definition at line 134 of file TimingReport.h.
References item, TimingReport::Item::start(), and TimingReport::Item::switchCPU().
|
inline |
|
inline |
Definition at line 140 of file TimingReport.h.
References TimingReport::Item::cpuwatch, item, GenTimer< Time >::lap(), GenTimeInterval< Time >::seconds(), and TimingReport::Item::stopwatch.
|
private |
Definition at line 152 of file TimingReport.h.
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), Vispa.Views.TableView.TableView::itemSelectionChanged(), lap(), Vispa.Views.TableView.TableView::select(), Vispa.Views.TableView.TableView::selection(), TimeMe(), and ~TimeMe().