LLVM OpenMP 22.0.0git
omptest::OmptEventGroupInterface Class Reference

This class provides the members and methods to manage event groups and SyncPoints in conjunction with asserters. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/tools/omptest/include/OmptAsserter.h"

Inheritance diagram for omptest::OmptEventGroupInterface:
[legend]

Public Member Functions

 OmptEventGroupInterface ()=default
 ~OmptEventGroupInterface ()=default
 OmptEventGroupInterface (const OmptEventGroupInterface &)=delete
 Non-copyable and non-movable.
OmptEventGroupInterfaceoperator= (const OmptEventGroupInterface &)=delete
 OmptEventGroupInterface (OmptEventGroupInterface &&)=delete
OmptEventGroupInterfaceoperator= (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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ OmptEventGroupInterface() [1/3]

omptest::OmptEventGroupInterface::OmptEventGroupInterface ( )
default

◆ ~OmptEventGroupInterface()

omptest::OmptEventGroupInterface::~OmptEventGroupInterface ( )
default

◆ OmptEventGroupInterface() [2/3]

omptest::OmptEventGroupInterface::OmptEventGroupInterface ( const OmptEventGroupInterface & )
delete

Non-copyable and non-movable.

References OmptEventGroupInterface().

◆ OmptEventGroupInterface() [3/3]

omptest::OmptEventGroupInterface::OmptEventGroupInterface ( OmptEventGroupInterface && )
delete

Member Function Documentation

◆ addActiveEventGroup()

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.

◆ checkActiveEventGroups()

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.

◆ checkDeprecatedEventGroups()

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.

◆ deprecateActiveEventGroup()

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.

◆ operator=() [1/2]

OmptEventGroupInterface & omptest::OmptEventGroupInterface::operator= ( const OmptEventGroupInterface & )
delete

◆ operator=() [2/2]

OmptEventGroupInterface & omptest::OmptEventGroupInterface::operator= ( OmptEventGroupInterface && )
delete

The documentation for this class was generated from the following files: