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

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 BufferComplete (int DeviceNum, ompt_buffer_t *Buffer, size_t Bytes, ompt_buffer_cursor_t Begin, int BufferOwned)
 
- Public Member Functions inherited from omptest::internal::EventBase< BufferComplete >
 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
 
ompt_buffer_cursor_t Begin
 
int BufferOwned
 
- Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.
 

Additional Inherited Members

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

Detailed Description

Definition at line 338 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ BufferComplete()

omptest::internal::BufferComplete::BufferComplete ( int  DeviceNum,
ompt_buffer_t *  Buffer,
size_t  Bytes,
ompt_buffer_cursor_t  Begin,
int  BufferOwned 
)
inline

Definition at line 340 of file InternalEvent.h.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 290 of file InternalEvent.cpp.

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

Member Data Documentation

◆ Begin

ompt_buffer_cursor_t omptest::internal::BufferComplete::Begin

Definition at line 347 of file InternalEvent.h.

◆ Buffer

ompt_buffer_t* omptest::internal::BufferComplete::Buffer

Definition at line 345 of file InternalEvent.h.

◆ BufferOwned

int omptest::internal::BufferComplete::BufferOwned

Definition at line 348 of file InternalEvent.h.

◆ Bytes

size_t omptest::internal::BufferComplete::Bytes

Definition at line 346 of file InternalEvent.h.

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

◆ DeviceNum

int omptest::internal::BufferComplete::DeviceNum

Definition at line 344 of file InternalEvent.h.

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


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