← Back to C-Kernel-Engine Docs Doxygen Source Documentation
PCIeDevice Struct Reference

#include <system_topology.h>

Data Fields

float bandwidth_gbs
 
float bandwidth_max_gbs
 
int bus
 
int device
 
char device_name [256]
 
int domain
 
int function
 
bool is_gpu
 
bool is_nic
 
bool is_nvme
 
int link_speed
 
int link_speed_max
 
int link_width
 
int link_width_max
 
char slot_id [32]
 
char vendor [64]
 

Detailed Description

Definition at line 155 of file system_topology.h.

Field Documentation

◆ bandwidth_gbs

float PCIeDevice::bandwidth_gbs

Definition at line 169 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ bandwidth_max_gbs

float PCIeDevice::bandwidth_max_gbs

Definition at line 170 of file system_topology.h.

Referenced by topology_discover_pcie().

◆ bus

int PCIeDevice::bus

Definition at line 160 of file system_topology.h.

Referenced by topology_discover_pcie().

◆ device

int PCIeDevice::device

Definition at line 161 of file system_topology.h.

Referenced by topology_discover_pcie().

◆ device_name

char PCIeDevice::device_name[256]

Definition at line 157 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ domain

int PCIeDevice::domain

Definition at line 159 of file system_topology.h.

◆ function

int PCIeDevice::function

Definition at line 162 of file system_topology.h.

Referenced by topology_discover_pcie().

◆ is_gpu

bool PCIeDevice::is_gpu

Definition at line 172 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ is_nic

bool PCIeDevice::is_nic

Definition at line 173 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ is_nvme

bool PCIeDevice::is_nvme

Definition at line 174 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ link_speed

int PCIeDevice::link_speed

Definition at line 166 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ link_speed_max

int PCIeDevice::link_speed_max

Definition at line 167 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ link_width

int PCIeDevice::link_width

Definition at line 164 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ link_width_max

int PCIeDevice::link_width_max

Definition at line 165 of file system_topology.h.

Referenced by topology_discover_pcie(), and topology_print_pcie().

◆ slot_id

char PCIeDevice::slot_id[32]

Definition at line 156 of file system_topology.h.

◆ vendor

char PCIeDevice::vendor[64]

Definition at line 158 of file system_topology.h.


The documentation for this struct was generated from the following file: