Function nvapi_hi::sys::gpu::clock::private::NvAPI_GPU_GetAllClocks
[−]
[src]
pub unsafe fn NvAPI_GPU_GetAllClocks(
hPhysicalGPU: NvPhysicalGpuHandle,
pClocksInfo: *mut NV_CLOCKS_INFO_V1
) -> i32
Undocumented function. Probably deprecated and replaced with NvAPI_GPU_GetAllClockFrequencies()
memory_clock = clocks[8] * 0.001f;
if clocks[30] != 0 { core_clock = clocks[30] * 0.0005f shader_clock = clocks[30] * 0.001f } else { core_clock = clocks[0] * 0.001f shader_clock = clocks[14] * 0.001f }