NVML API Reference Guide (PDF) - vR515 (older) - Last updated May 4, 2022 - Send Feedback

3.37. nvmlUtilization_t Struct Reference

[Device Structs]

Utilization information for a device. Each sample period may be between 1 second and 1/6 second, depending on the product being queried.

Public Variables

unsigned int  gpu
Percent of time over the past sample period during which one or more kernels was executing on the GPU.
unsigned int  memory
Percent of time over the past sample period during which global (device) memory was being read or written.

Variables

unsigned int nvmlUtilization_t::gpu [inherited]

Percent of time over the past sample period during which one or more kernels was executing on the GPU.

unsigned int nvmlUtilization_t::memory [inherited]

Percent of time over the past sample period during which global (device) memory was being read or written.


NVML API Reference Guide (PDF) - vR515 (older) - Last updated May 4, 2022 - Send Feedback