struct xpum_device_engine_metric_t

Overview

Struct to store device engine metric data. More…

#include <xpum_structs.h>

struct xpum_device_engine_metric_t
{
    // fields

    bool isTileData;
    int32_t tileId;
    uint64_t index;
    xpum_engine_type_t type;
    uint64_t value;
    uint32_t scale;
};

Detailed Documentation

Struct to store device engine metric data.

Fields

bool isTileData

If this statistics data is tile level.

int32_t tileId

The tile id, only valid if isTileData is true.

uint64_t index

The index of the engine in the same type on the device or sub-device.

xpum_engine_type_t type

The type of the engine.

uint64_t value

The value of engine utilization.

uint32_t scale

The magnification of the value field.