Timer for events that are enqueued on exec. More...
#include <EnqueuedEventTimer.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 () |
Public Attributes | |
| Exec | exec |
| uint32_t | dev_id = Kokkos::Tools::Experimental::device_id(exec) |
| Kokkos::utils::timer::Timer< Exec > | timer {} |
Timer for events that are enqueued on exec.
Definition at line 14 of file EnqueuedEventTimer.hpp.
|
inline |
Definition at line 33 of file EnqueuedEventTimer.hpp.
|
inline |
Start the timer. The event must be on exec.
Definition at line 18 of file EnqueuedEventTimer.hpp.
|
inline |
Stop the timer.
Definition at line 28 of file EnqueuedEventTimer.hpp.
| uint32_t Kokkos::utils::callbacks::EnqueuedEventTimer< Exec >::dev_id = Kokkos::Tools::Experimental::device_id(exec) |
Definition at line 36 of file EnqueuedEventTimer.hpp.
| Exec Kokkos::utils::callbacks::EnqueuedEventTimer< Exec >::exec |
Definition at line 35 of file EnqueuedEventTimer.hpp.
| Kokkos::utils::timer::Timer<Exec> Kokkos::utils::callbacks::EnqueuedEventTimer< Exec >::timer {} |
Definition at line 37 of file EnqueuedEventTimer.hpp.