[−][src]Function nvapi_sys::gpu::clock::NvAPI_GPU_GetAllClockFrequencies
pub unsafe fn NvAPI_GPU_GetAllClockFrequencies(
hPhysicalGPU: NvPhysicalGpuHandle,
pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES
) -> NvAPI_Status
This function retrieves the NV_GPU_CLOCK_FREQUENCIES structure for the specified physical GPU.
For each clock domain:
- bIsPresent is set for each domain that is present on the GPU
- frequency is the domain's clock freq in kHz
Each domain's info is indexed in the array. For example: clkFreqs.domainNVAPI_GPU_PUBLIC_CLOCK_MEMORY holds the info for the MEMORY domain.