gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
gpufilter::scoped_timer_stop Class Reference

Scope-limited timer class. More...

#include <timer.h>

List of all members.

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_timerm_timer
 Base timer associated with this scope-limited timer.

Detailed Description

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.

Examples:

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.


Constructor & Destructor Documentation

gpufilter::scoped_timer_stop::scoped_timer_stop ( base_timer timer)

Constructor

Parameters:
[in]timerBase timer associated with this scope-limited timer
gpufilter::scoped_timer_stop::~scoped_timer_stop ( ) [inline]

Destructor


Member Function Documentation

float gpufilter::scoped_timer_stop::elapsed ( ) const [inline]

Time elapsed.

Returns:
Elapsed time in seconds

The documentation for this class was generated from the following file: