struct xpum_topology_t

Overview

Struct to store topology data. More…

#include <xpum_structs.h>

struct xpum_topology_t
{
    // fields

    xpum_device_id_t deviceId;
    char localCPUList[XPUM_MAX_CPU_LIST_LEN];
    char localCPUs[XPUM_MAX_CPU_S_LEN];
    struct xpum_topology_t::@0 cpuAffinity;
    int switchCount;
    parent_switch switches[];
};

Detailed Documentation

Struct to store topology data.

Fields

xpum_device_id_t deviceId

Device id.

char localCPUList[XPUM_MAX_CPU_LIST_LEN]

CPU affinity, local CPU list.

char localCPUs[XPUM_MAX_CPU_S_LEN]

CPU affinity, local CPUs.

int switchCount

the count of parent switch

parent_switch switches[]

device path of parent switch