cuda::experimental::stf::stopwatch

Defined in include/cuda/experimental/__stf/utility/stopwatch.cuh

class stopwatch

Public Functions

stopwatch(const stopwatch&) = delete
stopwatch &operator=(const stopwatch&) = delete
inline stopwatch(stopwatch &&rhs) noexcept
inline stopwatch &operator=(stopwatch &&rhs)
inline stopwatch()
inline stopwatch(autostart_t, cudaStream_t stream = nullptr)
inline ~stopwatch()
inline void start(cudaStream_t stream = nullptr)
inline void stop(cudaStream_t stream = nullptr)
inline ::std::chrono::duration<float, ::std::milli> elapsed()
template<typename T = char>
inline float bandwidth(size_t items_transferred)

Public Static Attributes

static constexpr class cuda::experimental::stf::stopwatch::autostart_t autostart = {}
class autostart_t