struct xpum_device_components_ratio_t

Overview

Struct to store all component occupancy ratio. More…

#include <xpum_structs.h>

struct xpum_device_components_ratio_t
{
    // fields

    xpum_device_id_t deviceId;
    xpum_device_component_ratio_t ratios[XPUM_MAX_COMPONENT_OCCUPANCY_NUM];
    int componentNum;
};

Detailed Documentation

Struct to store all component occupancy ratio.

Fields

xpum_device_id_t deviceId

Device id.

int componentNum

The number of component to monitor.