LLVM OpenMP 22.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
omptest::OmptAssertEvent Struct Reference

Assertion event struct, provides statically callable CTORs. More...

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

Public Member Functions

 OmptAssertEvent (OmptAssertEvent &&o)=default
 Allow move construction (due to std::unique_ptr)
 
OmptAssertEventoperator= (OmptAssertEvent &&o)=default
 
std::string getEventName () const
 Get the event's name.
 
std::string getEventGroup () const
 Get the event's group name.
 
ObserveState getEventExpectedState () const
 Get the event's expected observation state.
 
internal::EventTy getEventType () const
 Return the actual event type enum value.
 
internal::InternalEventgetEvent () const
 Get a pointer to the internal event.
 
std::string toString (bool PrefixEventName=false) const
 Returns the string representation of the event.
 

Static Public Member Functions

static OmptAssertEvent AssertionSyncPoint (const std::string &Name, const std::string &Group, const ObserveState &Expected, const std::string &SyncPointName)
 
static OmptAssertEvent AssertionSuspend (const std::string &Name, const std::string &Group, const ObserveState &Expected)
 
static OmptAssertEvent ThreadBegin (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_thread_t ThreadType)
 
static OmptAssertEvent ThreadEnd (const std::string &Name, const std::string &Group, const ObserveState &Expected)
 
static OmptAssertEvent ParallelBegin (const std::string &Name, const std::string &Group, const ObserveState &Expected, int NumThreads)
 
static OmptAssertEvent ParallelEnd (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_data_t *ParallelData=expectedDefault(ompt_data_t *), ompt_data_t *EncounteringTaskData=expectedDefault(ompt_data_t *), int Flags=expectedDefault(int), const void *CodeptrRA=expectedDefault(const void *))
 
static OmptAssertEvent Work (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_work_t WorkType, ompt_scope_endpoint_t Endpoint, ompt_data_t *ParallelData=expectedDefault(ompt_data_t *), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), uint64_t Count=expectedDefault(uint64_t), const void *CodeptrRA=expectedDefault(const void *))
 
static OmptAssertEvent Dispatch (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_data_t *ParallelData=expectedDefault(ompt_data_t *), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), ompt_dispatch_t Kind=expectedDefault(ompt_dispatch_t), ompt_data_t Instance=expectedDefault(ompt_data_t))
 
static OmptAssertEvent TaskCreate (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_data_t *EncounteringTaskData=expectedDefault(ompt_data_t *), const ompt_frame_t *EncounteringTaskFrame=expectedDefault(ompt_frame_t *), ompt_data_t *NewTaskData=expectedDefault(ompt_data_t *), int Flags=expectedDefault(int), int HasDependences=expectedDefault(int), const void *CodeptrRA=expectedDefault(const void *))
 
static OmptAssertEvent TaskSchedule (const std::string &Name, const std::string &Group, const ObserveState &Expected)
 
static OmptAssertEvent ImplicitTask (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_scope_endpoint_t Endpoint, ompt_data_t *ParallelData=expectedDefault(ompt_data_t *), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), unsigned int ActualParallelism=expectedDefault(unsigned int), unsigned int Index=expectedDefault(unsigned int), int Flags=expectedDefault(int))
 
static OmptAssertEvent SyncRegion (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_sync_region_t Kind, ompt_scope_endpoint_t Endpoint, ompt_data_t *ParallelData=expectedDefault(ompt_data_t *), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), const void *CodeptrRA=expectedDefault(const void *))
 
static OmptAssertEvent Target (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_target_t Kind, ompt_scope_endpoint_t Endpoint, int DeviceNum=expectedDefault(int), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), ompt_id_t TargetId=expectedDefault(ompt_id_t), const void *CodeptrRA=expectedDefault(void *))
 
static OmptAssertEvent TargetEmi (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_target_t Kind, ompt_scope_endpoint_t Endpoint, int DeviceNum=expectedDefault(int), ompt_data_t *TaskData=expectedDefault(ompt_data_t *), ompt_data_t *TargetTaskData=expectedDefault(ompt_data_t *), ompt_data_t *TargetData=expectedDefault(ompt_data_t *), const void *CodeptrRA=expectedDefault(void *))
 
static OmptAssertEvent TargetDataOp (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_id_t TargetId, ompt_id_t HostOpId, ompt_target_data_op_t OpType, void *SrcAddr, int SrcDeviceNum, void *DstAddr, int DstDeviceNum, size_t Bytes, const void *CodeptrRA)
 
static OmptAssertEvent TargetDataOp (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_target_data_op_t OpType, size_t Bytes=expectedDefault(size_t), void *SrcAddr=expectedDefault(void *), void *DstAddr=expectedDefault(void *), int SrcDeviceNum=expectedDefault(int), int DstDeviceNum=expectedDefault(int), ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t), const void *CodeptrRA=expectedDefault(void *))
 
static OmptAssertEvent TargetDataOpEmi (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_scope_endpoint_t Endpoint, ompt_data_t *TargetTaskData, ompt_data_t *TargetData, ompt_id_t *HostOpId, ompt_target_data_op_t OpType, void *SrcAddr, int SrcDeviceNum, void *DstAddr, int DstDeviceNum, size_t Bytes, const void *CodeptrRA)
 
static OmptAssertEvent TargetDataOpEmi (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_target_data_op_t OpType, ompt_scope_endpoint_t Endpoint, size_t Bytes=expectedDefault(size_t), void *SrcAddr=expectedDefault(void *), void *DstAddr=expectedDefault(void *), int SrcDeviceNum=expectedDefault(int), int DstDeviceNum=expectedDefault(int), ompt_data_t *TargetTaskData=expectedDefault(ompt_data_t *), ompt_data_t *TargetData=expectedDefault(ompt_data_t *), ompt_id_t *HostOpId=expectedDefault(ompt_id_t *), const void *CodeptrRA=expectedDefault(void *))
 
static OmptAssertEvent TargetSubmit (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_id_t TargetId, ompt_id_t HostOpId, unsigned int RequestedNumTeams)
 
static OmptAssertEvent TargetSubmit (const std::string &Name, const std::string &Group, const ObserveState &Expected, unsigned int RequestedNumTeams, ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t))
 
static OmptAssertEvent TargetSubmitEmi (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_scope_endpoint_t Endpoint, ompt_data_t *TargetData, ompt_id_t *HostOpId, unsigned int RequestedNumTeams)
 
static OmptAssertEvent TargetSubmitEmi (const std::string &Name, const std::string &Group, const ObserveState &Expected, unsigned int RequestedNumTeams, ompt_scope_endpoint_t Endpoint, ompt_data_t *TargetData=expectedDefault(ompt_data_t *), ompt_id_t *HostOpId=expectedDefault(ompt_id_t *))
 
static OmptAssertEvent ControlTool (const std::string &Name, const std::string &Group, const ObserveState &Expected)
 
static OmptAssertEvent DeviceInitialize (const std::string &Name, const std::string &Group, const ObserveState &Expected, int DeviceNum, const char *Type=expectedDefault(const char *), ompt_device_t *Device=expectedDefault(ompt_device_t *), ompt_function_lookup_t LookupFn=expectedDefault(ompt_function_lookup_t), const char *DocumentationStr=expectedDefault(const char *))
 
static OmptAssertEvent DeviceFinalize (const std::string &Name, const std::string &Group, const ObserveState &Expected, int DeviceNum)
 
static OmptAssertEvent DeviceLoad (const std::string &Name, const std::string &Group, const ObserveState &Expected, int DeviceNum, const char *Filename=expectedDefault(const char *), int64_t OffsetInFile=expectedDefault(int64_t), void *VmaInFile=expectedDefault(void *), size_t Bytes=expectedDefault(size_t), void *HostAddr=expectedDefault(void *), void *DeviceAddr=expectedDefault(void *), uint64_t ModuleId=expectedDefault(int64_t))
 
static OmptAssertEvent DeviceUnload (const std::string &Name, const std::string &Group, const ObserveState &Expected)
 
static OmptAssertEvent BufferRequest (const std::string &Name, const std::string &Group, const ObserveState &Expected, int DeviceNum, ompt_buffer_t **Buffer, size_t *Bytes)
 
static OmptAssertEvent BufferComplete (const std::string &Name, const std::string &Group, const ObserveState &Expected, int DeviceNum, ompt_buffer_t *Buffer, size_t Bytes, ompt_buffer_cursor_t Begin, int BufferOwned)
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_record_ompt_t *Record)
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_callbacks_t Type, ompt_target_t Kind, ompt_scope_endpoint_t Endpoint, int DeviceNum=expectedDefault(int), ompt_id_t TaskId=expectedDefault(ompt_id_t), ompt_id_t TargetId=expectedDefault(ompt_id_t), const void *CodeptrRA=expectedDefault(void *))
 Handle type = ompt_record_target_t.
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_callbacks_t Type, ompt_target_data_op_t OpType, size_t Bytes, std::pair< ompt_device_time_t, ompt_device_time_t > Timeframe, void *SrcAddr=expectedDefault(void *), void *DstAddr=expectedDefault(void *), int SrcDeviceNum=expectedDefault(int), int DstDeviceNum=expectedDefault(int), ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t), const void *CodeptrRA=expectedDefault(void *))
 Handle type = ompt_callback_target_data_op.
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_callbacks_t Type, ompt_target_data_op_t OpType, size_t Bytes=expectedDefault(size_t), ompt_device_time_t MinimumTimeDelta=expectedDefault(ompt_device_time_t), void *SrcAddr=expectedDefault(void *), void *DstAddr=expectedDefault(void *), int SrcDeviceNum=expectedDefault(int), int DstDeviceNum=expectedDefault(int), ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t), const void *CodeptrRA=expectedDefault(void *))
 Handle type = ompt_callback_target_data_op.
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_callbacks_t Type, std::pair< ompt_device_time_t, ompt_device_time_t > Timeframe, unsigned int RequestedNumTeams=expectedDefault(unsigned int), unsigned int GrantedNumTeams=expectedDefault(unsigned int), ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t))
 Handle type = ompt_callback_target_submit.
 
static OmptAssertEvent BufferRecord (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_callbacks_t Type, ompt_device_time_t MinimumTimeDelta=expectedDefault(ompt_device_time_t), unsigned int RequestedNumTeams=expectedDefault(unsigned int), unsigned int GrantedNumTeams=expectedDefault(unsigned int), ompt_id_t TargetId=expectedDefault(ompt_id_t), ompt_id_t HostOpId=expectedDefault(ompt_id_t))
 Handle type = ompt_callback_target_submit Note: This will also act as the simplest default CTOR.
 
static OmptAssertEvent BufferRecordDeallocation (const std::string &Name, const std::string &Group, const ObserveState &Expected, ompt_buffer_t *Buffer)
 

Friends

bool operator== (const OmptAssertEvent &A, const OmptAssertEvent &B)
 Make events comparable.
 

Detailed Description

Assertion event struct, provides statically callable CTORs.

Definition at line 34 of file OmptAssertEvent.h.

Constructor & Destructor Documentation

◆ OmptAssertEvent()

omptest::OmptAssertEvent::OmptAssertEvent ( OmptAssertEvent &&  o)
default

Allow move construction (due to std::unique_ptr)

Member Function Documentation

◆ AssertionSuspend()

OmptAssertEvent OmptAssertEvent::AssertionSuspend ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected 
)
static

Definition at line 49 of file OmptAssertEvent.cpp.

Referenced by TEST_F().

◆ AssertionSyncPoint()

OmptAssertEvent OmptAssertEvent::AssertionSyncPoint ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
const std::string &  SyncPointName 
)
static

◆ BufferComplete()

OmptAssertEvent OmptAssertEvent::BufferComplete ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  DeviceNum,
ompt_buffer_t *  Buffer,
size_t  Bytes,
ompt_buffer_cursor_t  Begin,
int  BufferOwned 
)
static

◆ BufferRecord() [1/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_callbacks_t  Type,
ompt_device_time_t  MinimumTimeDelta = expectedDefault(ompt_device_time_t),
unsigned int  RequestedNumTeams = expectedDefault(unsigned int),
unsigned int  GrantedNumTeams = expectedDefault(unsigned int),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t) 
)
static

Handle type = ompt_callback_target_submit Note: This will also act as the simplest default CTOR.

Definition at line 538 of file OmptAssertEvent.cpp.

References BufferRecord(), and expectedDefault.

◆ BufferRecord() [2/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_callbacks_t  Type,
ompt_target_data_op_t  OpType,
size_t  Bytes,
std::pair< ompt_device_time_t, ompt_device_time_t >  Timeframe,
void SrcAddr = expectedDefault(void *),
void DstAddr = expectedDefault(void *),
int  SrcDeviceNum = expectedDefault(int),
int  DstDeviceNum = expectedDefault(int),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t),
const void CodeptrRA = expectedDefault(void *) 
)
static

Handle type = ompt_callback_target_data_op.

Definition at line 421 of file OmptAssertEvent.cpp.

References expectedDefault.

◆ BufferRecord() [3/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_callbacks_t  Type,
ompt_target_data_op_t  OpType,
size_t  Bytes = expectedDefault(size_t),
ompt_device_time_t  MinimumTimeDelta = expectedDefault(ompt_device_time_t),
void SrcAddr = expectedDefault(void *),
void DstAddr = expectedDefault(void *),
int  SrcDeviceNum = expectedDefault(int),
int  DstDeviceNum = expectedDefault(int),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t),
const void CodeptrRA = expectedDefault(void *) 
)
static

Handle type = ompt_callback_target_data_op.

Definition at line 452 of file OmptAssertEvent.cpp.

References BufferRecord(), and expectedDefault.

◆ BufferRecord() [4/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_callbacks_t  Type,
ompt_target_t  Kind,
ompt_scope_endpoint_t  Endpoint,
int  DeviceNum = expectedDefault(int),
ompt_id_t  TaskId = expectedDefault(ompt_id_t),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
const void CodeptrRA = expectedDefault(void *) 
)
static

Handle type = ompt_record_target_t.

Definition at line 394 of file OmptAssertEvent.cpp.

References expectedDefault.

◆ BufferRecord() [5/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_callbacks_t  Type,
std::pair< ompt_device_time_t, ompt_device_time_t >  Timeframe,
unsigned int  RequestedNumTeams = expectedDefault(unsigned int),
unsigned int  GrantedNumTeams = expectedDefault(unsigned int),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t) 
)
static

Handle type = ompt_callback_target_submit.

Definition at line 465 of file OmptAssertEvent.cpp.

References expectedDefault.

◆ BufferRecord() [6/6]

OmptAssertEvent OmptAssertEvent::BufferRecord ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_record_ompt_t *  Record 
)
static

◆ BufferRecordDeallocation()

OmptAssertEvent OmptAssertEvent::BufferRecordDeallocation ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_buffer_t *  Buffer 
)
static

◆ BufferRequest()

OmptAssertEvent OmptAssertEvent::BufferRequest ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  DeviceNum,
ompt_buffer_t **  Buffer,
size_t *  Bytes 
)
static

◆ ControlTool()

OmptAssertEvent OmptAssertEvent::ControlTool ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected 
)
static

Definition at line 308 of file OmptAssertEvent.cpp.

◆ DeviceFinalize()

OmptAssertEvent OmptAssertEvent::DeviceFinalize ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  DeviceNum 
)
static

◆ DeviceInitialize()

OmptAssertEvent OmptAssertEvent::DeviceInitialize ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  DeviceNum,
const char Type = expectedDefault(const char *),
ompt_device_t *  Device = expectedDefault(ompt_device_t *),
ompt_function_lookup_t  LookupFn = expectedDefault(ompt_function_lookup_t),
const char DocumentationStr = expectedDefault(const char *) 
)
static

◆ DeviceLoad()

OmptAssertEvent OmptAssertEvent::DeviceLoad ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  DeviceNum,
const char Filename = expectedDefault(const char *),
int64_t  OffsetInFile = expectedDefault(int64_t),
void VmaInFile = expectedDefault(void *),
size_t  Bytes = expectedDefault(size_t),
void HostAddr = expectedDefault(void *),
void DeviceAddr = expectedDefault(void *),
uint64_t  ModuleId = expectedDefault(int64_t) 
)
static

Definition at line 340 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleDeviceLoad().

◆ DeviceUnload()

OmptAssertEvent OmptAssertEvent::DeviceUnload ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected 
)
static

◆ Dispatch()

OmptAssertEvent OmptAssertEvent::Dispatch ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_data_t *  ParallelData = expectedDefault(ompt_data_t *),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
ompt_dispatch_t  Kind = expectedDefault(ompt_dispatch_t),
ompt_data_t  Instance = expectedDefault(ompt_data_t) 
)
static

Definition at line 114 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleDispatch(), and TEST().

◆ getEvent()

internal::InternalEvent * OmptAssertEvent::getEvent ( ) const

Get a pointer to the internal event.

Definition at line 569 of file OmptAssertEvent.cpp.

◆ getEventExpectedState()

ObserveState OmptAssertEvent::getEventExpectedState ( ) const

Get the event's expected observation state.

Definition at line 561 of file OmptAssertEvent.cpp.

◆ getEventGroup()

std::string OmptAssertEvent::getEventGroup ( ) const

Get the event's group name.

Definition at line 559 of file OmptAssertEvent.cpp.

◆ getEventName()

std::string OmptAssertEvent::getEventName ( ) const

Get the event's name.

Definition at line 557 of file OmptAssertEvent.cpp.

Referenced by toString().

◆ getEventType()

internal::EventTy OmptAssertEvent::getEventType ( ) const

Return the actual event type enum value.

Definition at line 565 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptSequencedAsserter::consumeSyncPoint().

◆ ImplicitTask()

OmptAssertEvent OmptAssertEvent::ImplicitTask ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  ParallelData = expectedDefault(ompt_data_t *),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
unsigned int  ActualParallelism = expectedDefault(unsigned int),
unsigned int  Index = expectedDefault(unsigned int),
int  Flags = expectedDefault(int) 
)
static

Definition at line 146 of file OmptAssertEvent.cpp.

References Index().

Referenced by omptest::OmptCallbackHandler::handleImplicitTask(), and TEST().

◆ operator=()

OmptAssertEvent & omptest::OmptAssertEvent::operator= ( OmptAssertEvent &&  o)
default

◆ ParallelBegin()

OmptAssertEvent OmptAssertEvent::ParallelBegin ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
int  NumThreads 
)
static

◆ ParallelEnd()

OmptAssertEvent OmptAssertEvent::ParallelEnd ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_data_t *  ParallelData = expectedDefault(ompt_data_t *),
ompt_data_t *  EncounteringTaskData = expectedDefault(ompt_data_t *),
int  Flags = expectedDefault(int),
const void CodeptrRA = expectedDefault(const void *) 
)
static

Definition at line 86 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleParallelEnd(), and TEST().

◆ SyncRegion()

OmptAssertEvent OmptAssertEvent::SyncRegion ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_sync_region_t  Kind,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  ParallelData = expectedDefault(ompt_data_t *),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
const void CodeptrRA = expectedDefault(const void *) 
)
static

Definition at line 159 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleSyncRegion(), and TEST().

◆ Target()

OmptAssertEvent OmptAssertEvent::Target ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_target_t  Kind,
ompt_scope_endpoint_t  Endpoint,
int  DeviceNum = expectedDefault(int),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
const void CodeptrRA = expectedDefault(void *) 
)
static

Definition at line 172 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleTarget(), TEST(), and TEST_F().

◆ TargetDataOp() [1/2]

OmptAssertEvent OmptAssertEvent::TargetDataOp ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_id_t  TargetId,
ompt_id_t  HostOpId,
ompt_target_data_op_t  OpType,
void SrcAddr,
int  SrcDeviceNum,
void DstAddr,
int  DstDeviceNum,
size_t  Bytes,
const void CodeptrRA 
)
static

◆ TargetDataOp() [2/2]

OmptAssertEvent OmptAssertEvent::TargetDataOp ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_target_data_op_t  OpType,
size_t  Bytes = expectedDefault(size_t),
void SrcAddr = expectedDefault(void *),
void DstAddr = expectedDefault(void *),
int  SrcDeviceNum = expectedDefault(int),
int  DstDeviceNum = expectedDefault(int),
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t),
const void CodeptrRA = expectedDefault(void *) 
)
static

Definition at line 211 of file OmptAssertEvent.cpp.

◆ TargetDataOpEmi() [1/2]

OmptAssertEvent OmptAssertEvent::TargetDataOpEmi ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  TargetTaskData,
ompt_data_t *  TargetData,
ompt_id_t *  HostOpId,
ompt_target_data_op_t  OpType,
void SrcAddr,
int  SrcDeviceNum,
void DstAddr,
int  DstDeviceNum,
size_t  Bytes,
const void CodeptrRA 
)
static

◆ TargetDataOpEmi() [2/2]

OmptAssertEvent OmptAssertEvent::TargetDataOpEmi ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_target_data_op_t  OpType,
ompt_scope_endpoint_t  Endpoint,
size_t  Bytes = expectedDefault(size_t),
void SrcAddr = expectedDefault(void *),
void DstAddr = expectedDefault(void *),
int  SrcDeviceNum = expectedDefault(int),
int  DstDeviceNum = expectedDefault(int),
ompt_data_t *  TargetTaskData = expectedDefault(ompt_data_t *),
ompt_data_t *  TargetData = expectedDefault(ompt_data_t *),
ompt_id_t *  HostOpId = expectedDefault(ompt_id_t *),
const void CodeptrRA = expectedDefault(void *) 
)
static

Definition at line 239 of file OmptAssertEvent.cpp.

◆ TargetEmi()

OmptAssertEvent OmptAssertEvent::TargetEmi ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_target_t  Kind,
ompt_scope_endpoint_t  Endpoint,
int  DeviceNum = expectedDefault(int),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
ompt_data_t *  TargetTaskData = expectedDefault(ompt_data_t *),
ompt_data_t *  TargetData = expectedDefault(ompt_data_t *),
const void CodeptrRA = expectedDefault(void *) 
)
static

Definition at line 185 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleTargetEmi().

◆ TargetSubmit() [1/2]

OmptAssertEvent OmptAssertEvent::TargetSubmit ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_id_t  TargetId,
ompt_id_t  HostOpId,
unsigned int  RequestedNumTeams 
)
static

◆ TargetSubmit() [2/2]

OmptAssertEvent OmptAssertEvent::TargetSubmit ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
unsigned int  RequestedNumTeams,
ompt_id_t  TargetId = expectedDefault(ompt_id_t),
ompt_id_t  HostOpId = expectedDefault(ompt_id_t) 
)
static

Definition at line 267 of file OmptAssertEvent.cpp.

◆ TargetSubmitEmi() [1/2]

OmptAssertEvent OmptAssertEvent::TargetSubmitEmi ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  TargetData,
ompt_id_t *  HostOpId,
unsigned int  RequestedNumTeams 
)
static

◆ TargetSubmitEmi() [2/2]

OmptAssertEvent OmptAssertEvent::TargetSubmitEmi ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
unsigned int  RequestedNumTeams,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  TargetData = expectedDefault(ompt_data_t *),
ompt_id_t *  HostOpId = expectedDefault(ompt_id_t *) 
)
static

Definition at line 293 of file OmptAssertEvent.cpp.

◆ TaskCreate()

OmptAssertEvent OmptAssertEvent::TaskCreate ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_data_t *  EncounteringTaskData = expectedDefault(ompt_data_t *),
const ompt_frame_t *  EncounteringTaskFrame = expectedDefault(ompt_frame_t *),
ompt_data_t *  NewTaskData = expectedDefault(ompt_data_t *),
int  Flags = expectedDefault(int),
int  HasDependences = expectedDefault(int),
const void CodeptrRA = expectedDefault(const void *) 
)
static

Definition at line 125 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleTaskCreate(), and TEST().

◆ TaskSchedule()

OmptAssertEvent OmptAssertEvent::TaskSchedule ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected 
)
static

Definition at line 138 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleTaskSchedule(), and TEST().

◆ ThreadBegin()

OmptAssertEvent OmptAssertEvent::ThreadBegin ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_thread_t  ThreadType 
)
static

Definition at line 58 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleThreadBegin(), and TEST().

◆ ThreadEnd()

OmptAssertEvent OmptAssertEvent::ThreadEnd ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected 
)
static

Definition at line 68 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleThreadEnd(), and TEST().

◆ toString()

std::string OmptAssertEvent::toString ( bool  PrefixEventName = false) const

Returns the string representation of the event.

Definition at line 573 of file OmptAssertEvent.cpp.

References getEventName(), and S.

◆ Work()

OmptAssertEvent OmptAssertEvent::Work ( const std::string &  Name,
const std::string &  Group,
const ObserveState Expected,
ompt_work_t  WorkType,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  ParallelData = expectedDefault(ompt_data_t *),
ompt_data_t *  TaskData = expectedDefault(ompt_data_t *),
uint64_t  Count = expectedDefault(uint64_t),
const void CodeptrRA = expectedDefault(const void *) 
)
static

Definition at line 101 of file OmptAssertEvent.cpp.

Referenced by omptest::OmptCallbackHandler::handleWork(), and TEST().

Friends And Related Function Documentation

◆ operator==

bool operator== ( const OmptAssertEvent A,
const OmptAssertEvent B 
)
friend

Make events comparable.


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