Function nvapi_hi::sys::gpu::clock::NvAPI_GPU_GetAllClockFrequencies
[−]
[src]
pub unsafe fn NvAPI_GPU_GetAllClockFrequencies(
hPhysicalGPU: NvPhysicalGpuHandle,
pClkFreqs: *mut NV_GPU_CLOCK_FREQUENCIES_V1
) -> i32
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.domain[NVAPI_GPU_PUBLIC_CLOCK_MEMORY] holds the info for the MEMORY domain.