NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::ScopedTimer< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::ScopedTimer< T >

A helper timer which measures the time from its instantiation to the moment it goes out of scope

Definition at line 102 of file timer.h.

#include <timer.h>

Public Methods

 ScopedTimer (T *time)
 
 ~ScopedTimer ()
 

Public Members

T * m_time
 
Timer m_timer
 

Constructor & Destructor Documentation

template<typename T>
nvbio::ScopedTimer< T >::ScopedTimer ( T *  time)
inline

Definition at line 104 of file timer.h.

template<typename T>
nvbio::ScopedTimer< T >::~ScopedTimer ( )
inline

Definition at line 105 of file timer.h.

Member Data Documentation

template<typename T>
T* nvbio::ScopedTimer< T >::m_time

Definition at line 107 of file timer.h.

template<typename T>
Timer nvbio::ScopedTimer< T >::m_timer

Definition at line 108 of file timer.h.


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