gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
|
Scope-limited timer class. More...
#include <timer.h>
Public Member Functions | |
scoped_timer_stop (base_timer &timer) | |
~scoped_timer_stop () | |
void | stop () |
Stop counting timing. | |
float | elapsed () const |
Time elapsed. | |
Private Attributes | |
base_timer * | m_timer |
Base timer associated with this scope-limited timer. |
Scope-limited timer class.
Scoped timer stop is a timer class that stops counting timing when destroyed, i.e. at the end of its scope.
example_bspline.cc, example_gauss.cc, example_r2.cc, example_r3.cc, example_r4.cc, example_r5.cc, example_sat2.cc, and example_sat3.cc.
gpufilter::scoped_timer_stop::scoped_timer_stop | ( | base_timer & | timer | ) |
Constructor
[in] | timer | Base timer associated with this scope-limited timer |
gpufilter::scoped_timer_stop::~scoped_timer_stop | ( | ) | [inline] |
Destructor
float gpufilter::scoped_timer_stop::elapsed | ( | ) | const [inline] |
Time elapsed.