LLVM OpenMP 22.0.0git
omptest::internal::BufferRequest Struct Reference

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 BufferRequest (int DeviceNum, ompt_buffer_t **Buffer, size_t *Bytes)
Public Member Functions inherited from omptest::internal::EventBase< BufferRequest >
 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

int DeviceNum
ompt_buffer_t ** Buffer
size_t * Bytes
Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.

Additional Inherited Members

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

Detailed Description

Definition at line 329 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ BufferRequest()

omptest::internal::BufferRequest::BufferRequest ( int DeviceNum,
ompt_buffer_t ** Buffer,
size_t * Bytes )
inline

Definition at line 331 of file InternalEvent.h.

References Buffer, Bytes, and DeviceNum.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 281 of file InternalEvent.cpp.

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

Referenced by TEST().

Member Data Documentation

◆ Buffer

ompt_buffer_t** omptest::internal::BufferRequest::Buffer

Definition at line 334 of file InternalEvent.h.

Referenced by BufferRequest(), and toString().

◆ Bytes

size_t* omptest::internal::BufferRequest::Bytes

Definition at line 335 of file InternalEvent.h.

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

◆ DeviceNum

int omptest::internal::BufferRequest::DeviceNum

Definition at line 333 of file InternalEvent.h.

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


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