LLVM OpenMP 22.0.0git
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==.
Public Member Functions inherited from omptest::internal::InternalEvent
 InternalEvent ()
 InternalEvent (EventTy T)
virtual ~InternalEvent ()=default

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.

References Bytes, DeviceAddr, DeviceNum, Filename, HostAddr, ModuleId, OffsetInFile, and VmaInFile.

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 Bytes, DeviceAddr, DeviceNum, Filename, HostAddr, omptest::util::makeHexString(), ModuleId, and S.

Referenced by TEST().

Member Data Documentation

◆ Bytes

size_t omptest::internal::DeviceLoad::Bytes

Definition at line 319 of file InternalEvent.h.

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

◆ DeviceAddr

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

Definition at line 321 of file InternalEvent.h.

Referenced by DeviceLoad(), and toString().

◆ DeviceNum

int omptest::internal::DeviceLoad::DeviceNum

Definition at line 315 of file InternalEvent.h.

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

◆ Filename

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

Definition at line 316 of file InternalEvent.h.

Referenced by DeviceLoad(), and toString().

◆ HostAddr

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

Definition at line 320 of file InternalEvent.h.

Referenced by DeviceLoad(), and toString().

◆ ModuleId

uint64_t omptest::internal::DeviceLoad::ModuleId

Definition at line 322 of file InternalEvent.h.

Referenced by DeviceLoad(), and toString().

◆ OffsetInFile

int64_t omptest::internal::DeviceLoad::OffsetInFile

Definition at line 317 of file InternalEvent.h.

Referenced by DeviceLoad().

◆ VmaInFile

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

Definition at line 318 of file InternalEvent.h.

Referenced by DeviceLoad().


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