Timer for events that are enqueued on exec. This timer also measures the launch time. More...
#include <EnqueuedEventWithLaunchTimer.hpp>
Public Member Functions | |
template<EnqueuedEvent EventType> | |
void | start (const EventType &event) |
Start the timer. The event must be on exec. | |
template<Event EventType> | |
void | stop (const EventType &) |
Stop the timer. | |
template<typename Duration = Kokkos::utils::timer::milliseconds> | |
Duration | duration () |
template<typename Duration = Kokkos::utils::timer::milliseconds> | |
Duration | launch () |
Public Attributes | |
Exec | exec |
uint32_t | dev_id = Kokkos::Tools::Experimental::device_id(exec) |
Kokkos::utils::timer::Timer< Exec > | timer {} |
Kokkos::utils::timer::Timer< void > | timer_launch {} |
Timer for events that are enqueued on exec. This timer also measures the launch time.
Definition at line 14 of file EnqueuedEventWithLaunchTimer.hpp.
|
inline |
Definition at line 36 of file EnqueuedEventWithLaunchTimer.hpp.
|
inline |
Definition at line 39 of file EnqueuedEventWithLaunchTimer.hpp.
|
inline |
Start the timer. The event must be on exec.
Definition at line 18 of file EnqueuedEventWithLaunchTimer.hpp.
|
inline |
Stop the timer.
Definition at line 29 of file EnqueuedEventWithLaunchTimer.hpp.
uint32_t Kokkos::utils::callbacks::EnqueuedEventWithLaunchTimer< Exec >::dev_id = Kokkos::Tools::Experimental::device_id(exec) |
Definition at line 42 of file EnqueuedEventWithLaunchTimer.hpp.
Exec Kokkos::utils::callbacks::EnqueuedEventWithLaunchTimer< Exec >::exec |
Definition at line 41 of file EnqueuedEventWithLaunchTimer.hpp.
Kokkos::utils::timer::Timer<Exec> Kokkos::utils::callbacks::EnqueuedEventWithLaunchTimer< Exec >::timer {} |
Definition at line 43 of file EnqueuedEventWithLaunchTimer.hpp.
Kokkos::utils::timer::Timer<void> Kokkos::utils::callbacks::EnqueuedEventWithLaunchTimer< Exec >::timer_launch {} |
Definition at line 44 of file EnqueuedEventWithLaunchTimer.hpp.