chrono::fsi::GpuTimer Class Reference

Description

A template time recorder for cuda events.

This utility class encapsulates a simple timer for recording the time between a start and stop event.

Public Member Functions

 GpuTimer (cudaStream_t stream=0)
 
void Start ()
 Record the start time.
 
void Stop ()
 Record the stop time.
 
float Elapsed ()
 Return the elapsed time.
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/utils/ChUtilsDevice.cuh