cuda.bindings.nvml.ProcessUtilizationSample#

class cuda.bindings.nvml.ProcessUtilizationSample(size=1)#
Empty-initialize an array of `nvmlProcessUtilizationSample_t`.

The resulting object is of length `size` and of dtype `process_utilization_sample_dtype`.
If default-constructed, the instance represents a single struct.

:param size: number of structs, default=1.
:type size: int

.. seealso:: `nvmlProcessUtilizationSample_t`
__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

from_data(data)

from_ptr(intptr_t ptr, size_t size=1, ...)

Attributes

dec_util

enc_util

mem_util

pid

ptr

sm_util

time_stamp