cuda.bindings.nvml.PwrModelMetricsDlppm1x#
- class cuda.bindings.nvml.PwrModelMetricsDlppm1x(size=1)#
Empty-initialize an array of nvmlPwrModelMetricsDlppm1x_t. The resulting object is of length size and of dtype pwr_model_metrics_dlppm1x_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlPwrModelMetricsDlppm1x_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an PwrModelMetricsDlppm1x instance with the memory from the given buffer.
from_data(data)Create an PwrModelMetricsDlppm1x instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...[, ...])Create an PwrModelMetricsDlppm1x instance wrapping the given pointer.
Attributes
b_validnon-zero if metrics are valid.
core_railCore rail metrics.
fb_railFb rail metrics.
perf_metricsPerformance metrics.
ptrGet the pointer address to the data as Python
int.tgp_pwr_tupleTotal Graphics Power (TGP) in milliwatts.