cuda.bindings.nvml.PwrModelMetricsDlppm1xPerf#
- class cuda.bindings.nvml.PwrModelMetricsDlppm1xPerf(size=1)#
Empty-initialize an array of nvmlPwrModelMetricsDlppm1xPerf_t. The resulting object is of length size and of dtype pwr_model_metrics_dlppm1x_perf_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlPwrModelMetricsDlppm1xPerf_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an PwrModelMetricsDlppm1xPerf instance with the memory from the given buffer.
from_data(data)Create an PwrModelMetricsDlppm1xPerf instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...[, ...])Create an PwrModelMetricsDlppm1xPerf instance wrapping the given pointer.
Attributes
perfmsPerformance metric in milliseconds.
ptrGet the pointer address to the data as Python
int.