ViennaCL - The Vienna Computing Library  1.5.1
Public Member Functions
timer Class Reference

Simple timer class based on gettimeofday (POSIX) or QueryPerformanceCounter (Windows). More...

#include <timer.hpp>

Public Member Functions

 timer ()
 
void start ()
 
double get () const
 

Detailed Description

Simple timer class based on gettimeofday (POSIX) or QueryPerformanceCounter (Windows).

Avoids messing with Boost and should be sufficient for benchmarking purposes.

Constructor & Destructor Documentation

timer ( )
inline

Member Function Documentation

double get ( ) const
inline
void start ( )
inline

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