struct xpum_device_realtime_metric_t

Overview

Struct to store realtime data for different metric types. More…

#include <xpum_structs.h>

struct xpum_device_realtime_metric_t
{
    // fields

    xpum_realtime_metric_type_t metricsType;
    bool isCounter;
    uint64_t value;
    uint32_t scale;
};

Detailed Documentation

Struct to store realtime data for different metric types.

Fields

xpum_realtime_metric_type_t metricsType

Metric type.

bool isCounter

If this metric is a counter.

uint64_t value

The value of this metric type.

uint32_t scale

The magnification of the value.