cuda.bindings.nvml.AccountingStats_v2#
- class cuda.bindings.nvml.AccountingStats_v2#
Empty-initialize an instance of nvmlAccountingStats_v2_t.
See also
nvmlAccountingStats_v2_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an AccountingStats_v2 instance with the memory from the given buffer.
from_data(data)Create an AccountingStats_v2 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an AccountingStats_v2 instance wrapping the given pointer.
Attributes
gpu_utilizationPercent of time over the process's lifetime during which one or more kernels was executing on the GPU.
is_runningFlag to represent if the process is running (1 for running, 0 for terminated).
max_memory_usageMaximum total memory in bytes that was ever allocated by the process.
memory_utilizationPercent of time over the process's lifetime during which global (device) memory was being read or written.
pidProcess Id of the target process to query stats for.
ptrGet the pointer address to the data as Python
int.sample_countThe sample counts since the process starts.
start_timeCPU Timestamp in usec representing start time for the process.
sum_fb_utilThe sum of process's FB bandwidth utilization in unit of pct * 100.
sum_gpu_utilThe sum of process's GR engine utilization in unit of pct * 100.
timeAmount of time in ms during which the compute context was active.