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

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 DeviceLoad (int DeviceNum, const char *Filename, int64_t OffsetInFile, void *VmaInFile, size_t Bytes, void *HostAddr, void *DeviceAddr, uint64_t ModuleId)
 
- Public Member Functions inherited from omptest::internal::EventBase< DeviceLoad >
 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
 
const charFilename
 
int64_t OffsetInFile
 
voidVmaInFile
 
size_t Bytes
 
voidHostAddr
 
voidDeviceAddr
 
uint64_t ModuleId
 
- Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.
 

Additional Inherited Members

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

Detailed Description

Definition at line 307 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ DeviceLoad()

omptest::internal::DeviceLoad::DeviceLoad ( int  DeviceNum,
const char Filename,
int64_t  OffsetInFile,
void VmaInFile,
size_t  Bytes,
void HostAddr,
void DeviceAddr,
uint64_t  ModuleId 
)
inline

Definition at line 309 of file InternalEvent.h.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 270 of file InternalEvent.cpp.

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

Member Data Documentation

◆ Bytes

size_t omptest::internal::DeviceLoad::Bytes

Definition at line 319 of file InternalEvent.h.

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

◆ DeviceAddr

void* omptest::internal::DeviceLoad::DeviceAddr

Definition at line 321 of file InternalEvent.h.

◆ DeviceNum

int omptest::internal::DeviceLoad::DeviceNum

Definition at line 315 of file InternalEvent.h.

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

◆ Filename

const char* omptest::internal::DeviceLoad::Filename

Definition at line 316 of file InternalEvent.h.

◆ HostAddr

void* omptest::internal::DeviceLoad::HostAddr

Definition at line 320 of file InternalEvent.h.

◆ ModuleId

uint64_t omptest::internal::DeviceLoad::ModuleId

Definition at line 322 of file InternalEvent.h.

◆ OffsetInFile

int64_t omptest::internal::DeviceLoad::OffsetInFile

Definition at line 317 of file InternalEvent.h.

◆ VmaInFile

void* omptest::internal::DeviceLoad::VmaInFile

Definition at line 318 of file InternalEvent.h.


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