LLVM OpenMP 22.0.0git
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==.
Public Member Functions inherited from omptest::internal::InternalEvent
 InternalEvent ()
 InternalEvent (EventTy T)
virtual ~InternalEvent ()=default

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.

References CodeptrRA, DeviceNum, Endpoint, Kind, TargetId, and TaskData.

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 CodeptrRA, DeviceNum, Endpoint, Kind, omptest::util::makeHexString(), S, and TargetId.

Member Data Documentation

◆ CodeptrRA

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

Definition at line 197 of file InternalEvent.h.

Referenced by Target(), and toString().

◆ DeviceNum

int omptest::internal::Target::DeviceNum

Definition at line 194 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), Target(), and toString().

◆ Endpoint

ompt_scope_endpoint_t omptest::internal::Target::Endpoint

Definition at line 193 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), Target(), and toString().

◆ Kind

ompt_target_t omptest::internal::Target::Kind

Definition at line 192 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), Target(), and toString().

◆ TargetId

ompt_id_t omptest::internal::Target::TargetId

Definition at line 196 of file InternalEvent.h.

Referenced by Target(), and toString().

◆ TaskData

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

Definition at line 195 of file InternalEvent.h.

Referenced by Target().


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