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

3.1. nvmlAccountingStats_t Struct Reference

[Accounting Statistics]

Describes accounting statistics of a process.

Public Variables

unsigned int  gpuUtilization
unsigned int  isRunning
Flag to represent if the process is running (1 for running, 0 for terminated).
unsigned long long  maxMemoryUsage
unsigned int  memoryUtilization
unsigned int  reserved[5]
Reserved for future use.
unsigned long long  startTime
CPU Timestamp in usec representing start time for the process.
unsigned long long  time

Variables

unsigned int nvmlAccountingStats_t::gpuUtilization [inherited]

Percent of time over the process's lifetime during which one or more kernels was executing on the GPU. Utilization stats just like returned by nvmlDeviceGetUtilizationRates but for the life time of a process (not just the last sample period). Set to NVML_VALUE_NOT_AVAILABLE if nvmlDeviceGetUtilizationRates is not supported

unsigned int nvmlAccountingStats_t::isRunning [inherited]

Flag to represent if the process is running (1 for running, 0 for terminated).

unsigned long long nvmlAccountingStats_t::maxMemoryUsage [inherited]

Maximum total memory in bytes that was ever allocated by the process. Set to NVML_VALUE_NOT_AVAILABLE if nvmlProcessInfo_t->usedGpuMemory is not supported

unsigned int nvmlAccountingStats_t::memoryUtilization [inherited]

Percent of time over the process's lifetime during which global (device) memory was being read or written. Set to NVML_VALUE_NOT_AVAILABLE if nvmlDeviceGetUtilizationRates is not supported

unsigned int nvmlAccountingStats_t::reserved[5] [inherited]

Reserved for future use.

unsigned long long nvmlAccountingStats_t::startTime [inherited]

CPU Timestamp in usec representing start time for the process.

unsigned long long nvmlAccountingStats_t::time [inherited]

Amount of time in ms during which the compute context was active. The time is reported as 0 if the process is not terminated


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