cuda.bindings.nvml.ProcessUtilizationInfo_v1#

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

Empty-initialize an array of nvmlProcessUtilizationInfo_v1_t.

The resulting object is of length size and of dtype process_utilization_info_v1_dtype. If default-constructed, the instance represents a single struct.

Parameters:

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

See also

nvmlProcessUtilizationInfo_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an ProcessUtilizationInfo_v1 instance wrapping the given NumPy array.

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

Create an ProcessUtilizationInfo_v1 instance wrapping the given pointer.

Attributes

dec_util

Decoder Util Value.

enc_util

Encoder Util Value.

jpg_util

Jpeg Util Value.

mem_util

Frame Buffer Memory Util Value.

ofa_util

Ofa Util Value.

pid

PID of process.

ptr

Get the pointer address to the data as Python int.

sm_util

SM (3D/Compute) Util Value.

time_stamp

CPU Timestamp in microseconds.