cuda.bindings.nvml.FBCSessionInfo#

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

Empty-initialize an array of nvmlFBCSessionInfo_t.

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

Parameters:

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

See also

nvmlFBCSessionInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an FBCSessionInfo instance wrapping the given NumPy array.

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

Create an FBCSessionInfo instance wrapping the given pointer.

Attributes

average_fps

Union[~_numpy.uint32, int]:

average_latency

Union[~_numpy.uint32, int]:

display_ordinal

Union[~_numpy.uint32, int]:

h_max_resolution

Union[~_numpy.uint32, int]:

h_resolution

Union[~_numpy.uint32, int]:

pid

Union[~_numpy.uint32, int]:

ptr

Get the pointer address to the data as Python int.

session_flags

Union[~_numpy.uint32, int]:

session_id

Union[~_numpy.uint32, int]:

session_type

Union[~_numpy.int32, int]:

v_max_resolution

Union[~_numpy.uint32, int]:

v_resolution

Union[~_numpy.uint32, int]:

vgpu_instance

Union[~_numpy.uint32, int]: