cuda.core.system.ClockInfo#
- class cuda.core.system.ClockInfo(handle, clock_type: ClockType)#
Accesses various clock information about a device.
Methods
- __init__(*args, **kwargs)#
- get_current_mhz(
- self,
- clock_id: ClockId = ClockId.CURRENT,
Get the current clock speed of a specific clock domain, in MHz.
For Kepler™ or newer fully supported devices.
- get_max_customer_boost_mhz(self) int#
Get the maximum customer boost clock speed of a specific clock, in MHz.
For Pascal™ or newer fully supported devices.
- Returns:
The maximum customer boost clock speed in MHz.
- Return type:
- get_max_mhz(self) int#
Get the maximum clock speed of a specific clock domain, in MHz.
For Fermi™ or newer fully supported devices.
Current P0 clocks (reported by
get_current_mhz()can differ from max clocks by a few MHz.- Returns:
The maximum clock speed in MHz.
- Return type:
- get_min_max_clock_of_pstate_mhz(
- self,
- pstate: Pstates,
Get the minimum and maximum clock speeds for this clock domain at a given performance state (Pstate), in MHz.
- get_offsets(self, pstate: Pstates) ClockOffsets#
Retrieve min, max and current clock offset of some clock domain for a given Pstate.
For Maxwell™ or newer fully supported devices.
- Parameters:
pstate (
Pstates) – The performance state to query.- Returns:
An object with the min, max and current clock offset.
- Return type: