LLVM OpenMP 22.0.0git
|
Class that reports the occurred events. More...
Public Member Functions | |
OmptEventReporter (std::ostream &OutStream=std::cout) | |
void | notify (omptest::OmptAssertEvent &&AE) override |
Called from the CallbackHandler with a corresponding AssertEvent to which callback was handled. | |
![]() | |
virtual | ~OmptListener ()=default |
virtual void | notify (omptest::OmptAssertEvent &&AE)=0 |
Called for each registered OMPT event of the OmptCallbackHandler. | |
void | setActive (bool Enabled) |
Control whether this asserter should be considered 'active'. | |
bool | isActive () |
Check if this asserter is considered 'active'. | |
bool | isSuppressedEventType (omptest::internal::EventTy EvTy) |
Check if the given event type is from the set of suppressed event types. | |
void | permitEvent (omptest::internal::EventTy EvTy) |
Remove the given event type to the set of suppressed events. | |
void | suppressEvent (omptest::internal::EventTy EvTy) |
Add the given event type to the set of suppressed events. | |
Class that reports the occurred events.
Definition at line 238 of file OmptAsserter.h.
|
inline |
Definition at line 240 of file OmptAsserter.h.
|
overridevirtual |
Called from the CallbackHandler with a corresponding AssertEvent to which callback was handled.
Implements omptest::OmptListener.
Definition at line 436 of file OmptAsserter.cpp.
References omptest::OmptListener::isActive(), and omptest::OmptListener::isSuppressedEventType().