LLVM OpenMP 22.0.0git
|
This class provides the members and methods to manage event groups and SyncPoints in conjunction with asserters. More...
Public Member Functions | |
OmptEventGroupInterface ()=default | |
~OmptEventGroupInterface ()=default | |
OmptEventGroupInterface (const OmptEventGroupInterface &)=delete | |
Non-copyable and non-movable. | |
OmptEventGroupInterface & | operator= (const OmptEventGroupInterface &)=delete |
OmptEventGroupInterface (OmptEventGroupInterface &&)=delete | |
OmptEventGroupInterface & | operator= (OmptEventGroupInterface &&)=delete |
bool | addActiveEventGroup (const std::string &GroupName, omptest::AssertEventGroup Group) |
Add given group to the set of active event groups. | |
bool | deprecateActiveEventGroup (const std::string &GroupName) |
Move given group from the set of active event groups to the set of previously active event groups. | |
bool | checkActiveEventGroups (const std::string &GroupName, omptest::AssertEventGroup Group) |
Check if given group is currently part of the active event groups. | |
bool | checkDeprecatedEventGroups (const std::string &GroupName, omptest::AssertEventGroup Group) |
Check if given group is currently part of the deprecated event groups. |
This class provides the members and methods to manage event groups and SyncPoints in conjunction with asserters.
Most importantly it maintains a coherent view of active and past events or SyncPoints.
Definition at line 254 of file OmptAsserter.h.
|
default |
Referenced by OmptEventGroupInterface(), OmptEventGroupInterface(), operator=(), and operator=().
|
default |
|
delete |
Non-copyable and non-movable.
References OmptEventGroupInterface().
|
delete |
References OmptEventGroupInterface().
bool OmptEventGroupInterface::addActiveEventGroup | ( | const std::string & | GroupName, |
omptest::AssertEventGroup | Group ) |
Add given group to the set of active event groups.
Effectively connecting the given groupname (expected) with a target region id (observed).
Definition at line 446 of file OmptAsserter.cpp.
References omptest::AssertEventGroup::TargetRegion.
bool OmptEventGroupInterface::checkActiveEventGroups | ( | const std::string & | GroupName, |
omptest::AssertEventGroup | Group ) |
Check if given group is currently part of the active event groups.
Definition at line 470 of file OmptAsserter.cpp.
References omptest::AssertEventGroup::TargetRegion.
bool OmptEventGroupInterface::checkDeprecatedEventGroups | ( | const std::string & | GroupName, |
omptest::AssertEventGroup | Group ) |
Check if given group is currently part of the deprecated event groups.
Definition at line 478 of file OmptAsserter.cpp.
References omptest::AssertEventGroup::TargetRegion.
bool OmptEventGroupInterface::deprecateActiveEventGroup | ( | const std::string & | GroupName | ) |
Move given group from the set of active event groups to the set of previously active event groups.
Definition at line 457 of file OmptAsserter.cpp.
|
delete |
References OmptEventGroupInterface().
|
delete |
References OmptEventGroupInterface().