Struct GlobalSymbol::Value

Nested Relationships

This struct is a nested type of Struct GlobalSymbol.

Nested Types

Struct Documentation

struct Value

Public Types

enum class Type

Types of global symbol Values.

Values:

enumerator kArrayUint8
enumerator kBool
enumerator kFloat
enumerator kRangeUint32
enumerator kRangeUint64
enumerator kString
enumerator kUint32
enumerator kUint64
enumerator kCount

Number of possible Value types.

enumerator kInvalid

Invalid Value type.

Public Members

Type type

Type of data provided in the Value.

ArrayUint8 arrayUint8

Struct describing an array of uint8_t elements. Invalid after calling DestroyGpuDevice/UnlinkGpuSpecificMdApiSourceUsage.

bool bool32
char *pString

Pointer to null-terminated char array. Invalid after calling DestroyGpuDevice/UnlinkGpuSpecificMdApiSourceUsage.

float float32
RangeUint32 rangeUint32
RangeUint64 rangeUint64
uint32_t uint32
uint64_t uint64
union gpa::metrics::GlobalSymbol::Value::[anonymous] data

The actual Value data.

struct ArrayUint8

Public Members

uint32_t count

Number of bytes in the pData array.

uint8_t *pData

Pointer to an array of count bytes. Invalid after calling DestroyGpuDevice/UnlinkGpuSpecificMdApiSourceUsage.

struct RangeUint32

Public Members

uint32_t min
uint32_t max
struct RangeUint64

Public Members

uint32_t min
uint32_t max