cuda.bindings.nvml.VgpuInstanceUtilizationSample#
- class cuda.bindings.nvml.VgpuInstanceUtilizationSample(size=1)#
Empty-initialize an array of nvmlVgpuInstanceUtilizationSample_t.
The resulting object is of length size and of dtype vgpu_instance_utilization_sample_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlVgpuInstanceUtilizationSample_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an VgpuInstanceUtilizationSample instance with the memory from the given buffer.
from_data(data)Create an VgpuInstanceUtilizationSample instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...)Create an VgpuInstanceUtilizationSample instance wrapping the given pointer.
Attributes
dec_utilvalue_dtype:
enc_utilvalue_dtype:
mem_utilvalue_dtype:
ptrGet the pointer address to the data as Python
int.sm_utilvalue_dtype:
time_stampUnion[~_numpy.uint64, int]:
vgpu_instanceUnion[~_numpy.uint32, int]: