struct xpum_device_engine_stats_t
Overview
Struct to store device engine statistics data. More…
#include <xpum_structs.h> struct xpum_device_engine_stats_t { // fields bool isTileData; int32_t tileId; uint64_t index; xpum_engine_type_t type; uint64_t value; uint64_t min; uint64_t avg; uint64_t max; uint32_t scale; xpum_device_id_t deviceId; };
Detailed Documentation
Struct to store device engine statistics 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.
uint64_t min
The min value since last call.
uint64_t avg
The average value since last call.
uint64_t max
The max value since last call.
uint32_t scale
The magnification of the value, accumulated, min, avg, and max fields.
xpum_device_id_t deviceId
Device id.