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

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 BufferRecord (ompt_record_ompt_t *RecordPtr)
Public Member Functions inherited from omptest::internal::EventBase< BufferRecord >
 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_record_ompt_t Record
ompt_record_ompt_t * RecordPtr
Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.

Additional Inherited Members

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

Detailed Description

Definition at line 351 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ BufferRecord()

omptest::internal::BufferRecord::BufferRecord ( ompt_record_ompt_t * RecordPtr)
inline

Definition at line 353 of file InternalEvent.h.

References Record, and RecordPtr.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 300 of file InternalEvent.cpp.

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

Referenced by TEST(), TEST(), TEST(), and TEST().

Member Data Documentation

◆ Record

ompt_record_ompt_t omptest::internal::BufferRecord::Record

Definition at line 359 of file InternalEvent.h.

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

◆ RecordPtr

ompt_record_ompt_t* omptest::internal::BufferRecord::RecordPtr

Definition at line 360 of file InternalEvent.h.

Referenced by BufferRecord(), and toString().


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