Match a begin event and its corresponding end event based on their event_id
.
More...
#include <EventBeginEndIdMatcher.hpp>
Public Types | |
using | end_event_t = paired_event_t<BeginEventType> |
Public Member Functions | |
bool | operator() (const BeginEventType &event) |
bool | operator() (const end_event_t &event) const |
Public Attributes | |
BeginMatcherType | matcher |
EventIdMatcher | matcher_end {} |
Match a begin event and its corresponding end event based on their event_id
.
The matcher can be used to match a specific begin event of type BeginEventType
.
event_id
member. For a given event of a begin event type, there is only one event of the corresponding end event type that will potentially have the same event_id
as the begin event. For instance, given a BeginParallelForEvent event, only one EndParallelForEvent event should match. Definition at line 22 of file EventBeginEndIdMatcher.hpp.
using Kokkos::utils::callbacks::EventBeginEndIdMatcher< BeginEventType, BeginMatcherType >::end_event_t = paired_event_t<BeginEventType> |
Definition at line 24 of file EventBeginEndIdMatcher.hpp.
|
inline |
Definition at line 26 of file EventBeginEndIdMatcher.hpp.
|
inline |
Definition at line 36 of file EventBeginEndIdMatcher.hpp.
BeginMatcherType Kokkos::utils::callbacks::EventBeginEndIdMatcher< BeginEventType, BeginMatcherType >::matcher |
Definition at line 40 of file EventBeginEndIdMatcher.hpp.
EventIdMatcher Kokkos::utils::callbacks::EventBeginEndIdMatcher< BeginEventType, BeginMatcherType >::matcher_end {} |
Definition at line 41 of file EventBeginEndIdMatcher.hpp.