LLVM OpenMP 22.0.0git
Public Member Functions | Public Attributes | List of all members
omptest::internal::Target Struct Reference

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

Inheritance diagram for omptest::internal::Target:
[legend]

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 Target (ompt_target_t Kind, ompt_scope_endpoint_t Endpoint, int DeviceNum, ompt_data_t *TaskData, ompt_id_t TargetId, const void *CodeptrRA)
 
- Public Member Functions inherited from omptest::internal::EventBase< Target >
 EventBase ()
 
virtual ~EventBase ()=default
 
virtual bool equals (const InternalEvent *o) const override
 Equals method to cast and dispatch to the specific class operator==.
 
virtual std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
- Public Member Functions inherited from omptest::internal::InternalEvent
 InternalEvent ()
 
 InternalEvent (EventTy T)
 
virtual ~InternalEvent ()=default
 
virtual bool equals (const InternalEvent *o) const
 
virtual std::string toString () const
 

Public Attributes

ompt_target_t Kind
 
ompt_scope_endpoint_t Endpoint
 
int DeviceNum
 
ompt_data_t * TaskData
 
ompt_id_t TargetId
 
const voidCodeptrRA
 
- Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.
 

Additional Inherited Members

- Static Public Attributes inherited from omptest::internal::EventBase< Target >
static constexpr EventTy EventType
 

Detailed Description

Definition at line 186 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ Target()

omptest::internal::Target::Target ( ompt_target_t  Kind,
ompt_scope_endpoint_t  Endpoint,
int  DeviceNum,
ompt_data_t *  TaskData,
ompt_id_t  TargetId,
const void CodeptrRA 
)
inline

Definition at line 188 of file InternalEvent.h.

Member Function Documentation

◆ toString()

std::string internal::Target::toString ( ) const
overridevirtual

Basic toString method, which may be overridden with own implementations.

Reimplemented from omptest::internal::EventBase< Target >.

Definition at line 147 of file InternalEvent.cpp.

References omptest::util::makeHexString(), and S.

Member Data Documentation

◆ CodeptrRA

const void* omptest::internal::Target::CodeptrRA

Definition at line 197 of file InternalEvent.h.

◆ DeviceNum

int omptest::internal::Target::DeviceNum

Definition at line 194 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ Endpoint

ompt_scope_endpoint_t omptest::internal::Target::Endpoint

Definition at line 193 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ Kind

ompt_target_t omptest::internal::Target::Kind

Definition at line 192 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ TargetId

ompt_id_t omptest::internal::Target::TargetId

Definition at line 196 of file InternalEvent.h.

◆ TaskData

ompt_data_t* omptest::internal::Target::TaskData

Definition at line 195 of file InternalEvent.h.


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