12 #ifndef _CUDA_UTILITIES_CUDA_TIMER_H_
13 #define _CUDA_UTILITIES_CUDA_TIMER_H_
20 #include <cuda_runtime_api.h>
Records elasped time between two CUDA events.
~CudaTimer()
Destructor for CudaTimer.
void stop()
Stops the timer.
void start()
Starts the timer.
float elapsed() const
Returns the elapsed time in seconds.
CudaTimer()
constructor for CudaTimer