cuda.bindings.nvml.VgpuSchedulerLogEntry#

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

Empty-initialize an array of nvmlVgpuSchedulerLogEntry_t.

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

Parameters:

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

See also

nvmlVgpuSchedulerLogEntry_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an VgpuSchedulerLogEntry instance wrapping the given NumPy array.

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

Create an VgpuSchedulerLogEntry instance wrapping the given pointer.

Attributes

cumulative_preemption_time

Union[~_numpy.uint64, int]:

ptr

Get the pointer address to the data as Python int.

sw_runlist_id

Union[~_numpy.uint32, int]:

target_time_slice

Union[~_numpy.uint64, int]:

time_run

Union[~_numpy.uint64, int]:

time_run_total

Union[~_numpy.uint64, int]:

timestamp

Union[~_numpy.uint64, int]: