packages/CudaUtils/cuda_utils/Event.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Calculate elapsed time relative to another event (ms)
 *
 * This should be the "stop" event.
 *
 * \return Elapsed time in milliseconds.
 */
\brief Calculate elapsed time relative to another event (ms)
This should be the "stop" event.

\return Elapsed time in milliseconds.
\ brief Calculate elapsed time relative to another event ( ms ) This should be the " stop " event . \ return Elapsed time in milliseconds .
float Event<Device>::elapsed_time_since(const This& start) const
{
    float time;
    CudaCall(cudaEventElapsedTime(&time, start.d_handle, this->d_handle));
    return time;
}
float Event < Device > :: elapsed_time_since ( const This & start ) const { float time ; CudaCall ( cudaEventElapsedTime ( & time , start . d_handle , this -> d_handle ) ) ; return time ; }
\brief Calculate elapsed time relative to another event (ms)
 This should be the "stop" event.
\ brief Calculate elapsed time relative to another event ( ms ) This should be the " stop " event .