cuda.bindings.nvml.device_get_samples#

cuda.bindings.nvml.device_get_samples(
intptr_t device,
int type,
unsigned long long last_seen_time_stamp,
) tuple#

Gets recent samples for the GPU.

Parameters:
  • device (intptr_t) – The identifier for the target device.

  • type (SamplingType) – Type of sampling event.

  • last_seen_time_stamp (unsigned long long) – Return only samples with timestamp greater than last_seen_time_stamp.

See also

nvmlDeviceGetSamples