cuda.bindings.nvml.device_get_clock#

cuda.bindings.nvml.device_get_clock(
intptr_t device,
int clock_type,
int clock_id,
) unsigned int#
Retrieves the clock speed for the clock specified by the clock type and clock ID.

:param device: The identifier of the target device.
:type device: intptr_t
:param clock_type: Identify which clock domain to query.
:type clock_type: ClockType
:param clock_id: Identify which clock in the domain to query.
:type clock_id: ClockId

:returns: Reference in which to return the clock in MHz.
:rtype: unsigned int

.. seealso:: `nvmlDeviceGetClock`