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

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 Work (ompt_work_t WorkType, ompt_scope_endpoint_t Endpoint, ompt_data_t *ParallelData, ompt_data_t *TaskData, uint64_t Count, const void *CodeptrRA)
 
- Public Member Functions inherited from omptest::internal::EventBase< Work >
 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

ompt_work_t WorkType
 
ompt_scope_endpoint_t Endpoint
 
ompt_data_t * ParallelData
 
ompt_data_t * TaskData
 
uint64_t Count
 
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< Work >
static constexpr EventTy EventType
 

Detailed Description

Definition at line 77 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ Work()

omptest::internal::Work::Work ( ompt_work_t  WorkType,
ompt_scope_endpoint_t  Endpoint,
ompt_data_t *  ParallelData,
ompt_data_t *  TaskData,
uint64_t  Count,
const void CodeptrRA 
)
inline

Definition at line 79 of file InternalEvent.h.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 74 of file InternalEvent.cpp.

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

Member Data Documentation

◆ CodeptrRA

const void* omptest::internal::Work::CodeptrRA

Definition at line 89 of file InternalEvent.h.

◆ Count

uint64_t omptest::internal::Work::Count

Definition at line 88 of file InternalEvent.h.

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

◆ Endpoint

ompt_scope_endpoint_t omptest::internal::Work::Endpoint

Definition at line 85 of file InternalEvent.h.

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

◆ ParallelData

ompt_data_t* omptest::internal::Work::ParallelData

Definition at line 86 of file InternalEvent.h.

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

◆ TaskData

ompt_data_t* omptest::internal::Work::TaskData

Definition at line 87 of file InternalEvent.h.

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

◆ WorkType

ompt_work_t omptest::internal::Work::WorkType

Definition at line 84 of file InternalEvent.h.

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


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