cuda.bindings.nvml.VgpuInstancesUtilizationInfo_v1#

class cuda.bindings.nvml.VgpuInstancesUtilizationInfo_v1#

Empty-initialize an instance of nvmlVgpuInstancesUtilizationInfo_v1_t.

See also

nvmlVgpuInstancesUtilizationInfo_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an VgpuInstancesUtilizationInfo_v1 instance with the memory from the given buffer.

from_data(data)

Create an VgpuInstancesUtilizationInfo_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an VgpuInstancesUtilizationInfo_v1 instance wrapping the given pointer.

Attributes

last_seen_time_stamp

Return only samples with timestamp greater than lastSeenTimeStamp.

ptr

Get the pointer address to the data as Python int.

sample_val_type

Hold the type of returned sample values.

version

The version number of this struct.

vgpu_util_array

The array (allocated by caller) in which vGPU utilization are returned.