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

Detailed description

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

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

Definition at line 69 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::cuda::ScopedTimer< T >::ScopedTimer ( T *  time)
inline

Definition at line 71 of file timer.h.

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

Definition at line 72 of file timer.h.

Member Data Documentation

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

Definition at line 74 of file timer.h.

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

Definition at line 75 of file timer.h.


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