LLVM OpenMP 22.0.0git
Public Member Functions | Public Attributes | List of all members
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==.
 
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

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.

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 omptest::util::makeHexString(), and S.

Member Data Documentation

◆ Buffer

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

Definition at line 334 of file InternalEvent.h.

◆ Bytes

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

Definition at line 335 of file InternalEvent.h.

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

◆ DeviceNum

int omptest::internal::BufferRequest::DeviceNum

Definition at line 333 of file InternalEvent.h.

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


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