struct xpum_device_metric_data_t
Overview
Struct to store metric data for different metric types. More…
#include <xpum_structs.h> struct xpum_device_metric_data_t { // fields xpum_stats_type_t metricsType; bool isCounter; uint64_t value; uint64_t timestamp; uint32_t scale; };
Detailed Documentation
Struct to store metric data for different metric types.
Fields
xpum_stats_type_t metricsType
Metric type.
bool isCounter
If this metric is a counter.
uint64_t value
The value of this metric type.
uint64_t timestamp
The timestamp of this data.
uint32_t scale
The magnification of the value field.