nvmlNvlinkTelemetrySample_v1_t#

struct nvmlNvlinkTelemetrySample_v1_t#

Struct representing one (link, metric) telemetry request / response slot.

Public Members

unsigned int linkId#

[in] LinkId

unsigned int sampleType#

[in] Type of telemetry to sample, specified by nvmlNvlinkTelemetrySampleType_t

unsigned int sampleCount#

[in,out]: Number of samples users need to allocate. If set to 0, will return max supported count of samples without touching the samples pointer.

unsigned long long *samples#

[in,out]: Array of samples allocated by the user. Can be set to NULL when getting count

nvmlReturn_t nvmlReturn#

[out]: Return code for retrieving this sample. This must be checked by the client before looking at any output values, as they are invalid if nvmlReturn != NVML_SUCCESS.