cuda.bindings.nvml.PerfMetricsDlppc2xSample#

class cuda.bindings.nvml.PerfMetricsDlppc2xSample(size=1)#

Empty-initialize an array of nvmlPerfMetricsDlppc2xSample_t. The resulting object is of length size and of dtype perf_metrics_dlppc2x_sample_dtype. If default-constructed, the instance represents a single struct.

Parameters:

size (int) – number of structs, default=1.

See also

nvmlPerfMetricsDlppc2xSample_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an PerfMetricsDlppc2xSample instance wrapping the given NumPy array.

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

Create an PerfMetricsDlppc2xSample instance wrapping the given pointer.

Attributes

observed_metrics

Observed metrics from the DLPPC 2x controller.

ptr

Get the pointer address to the data as Python int.