LLVM OpenMP 22.0.0git
|
Functions | |
std::string | makeHexString (uint64_t Data, bool IsPointer=true, size_t DataBytes=0, bool ShowHexBase=true) |
String manipulation helper function. |
std::string omptest::util::makeHexString | ( | uint64_t | Data, |
bool | IsPointer = true, | ||
size_t | DataBytes = 0, | ||
bool | ShowHexBase = true ) |
String manipulation helper function.
Takes up to 8 bytes of data and returns their hexadecimal representation as string. The data can be expanded to the given size in bytes and will by default be prefixed with '0x'.
Definition at line 22 of file InternalEvent.cpp.
Referenced by TEST(), TEST(), TEST(), omptest::internal::BufferComplete::toString(), omptest::internal::BufferRecord::toString(), omptest::internal::BufferRecordDeallocation::toString(), omptest::internal::BufferRequest::toString(), omptest::internal::DeviceInitialize::toString(), omptest::internal::DeviceLoad::toString(), omptest::internal::Dispatch::toString(), omptest::internal::ImplicitTask::toString(), omptest::internal::SyncRegion::toString(), omptest::internal::Target::toString(), omptest::internal::TargetDataOp::toString(), omptest::internal::TargetDataOpEmi::toString(), omptest::internal::TargetEmi::toString(), omptest::internal::TargetSubmitEmi::toString(), omptest::internal::TaskCreate::toString(), and omptest::internal::Work::toString().