diff options
Diffstat (limited to 'src/sysinfo/nvapi_adapter.cpp')
-rw-r--r-- | src/sysinfo/nvapi_adapter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sysinfo/nvapi_adapter.cpp b/src/sysinfo/nvapi_adapter.cpp index a2cf148..b15941e 100644 --- a/src/sysinfo/nvapi_adapter.cpp +++ b/src/sysinfo/nvapi_adapter.cpp @@ -250,10 +250,18 @@ namespace dxvk { return {m_nvml.ErrorString(result)}; } + nvmlReturn_t NvapiAdapter::GetNvmlDeviceClockInfo(nvmlClockType_t type, unsigned int* clock) const { + return m_nvml.DeviceGetClockInfo(m_nvmlDevice, type, clock); + } + nvmlReturn_t NvapiAdapter::GetNvmlDeviceTemperature(nvmlTemperatureSensors_t sensorType, unsigned int* temp) const { return m_nvml.DeviceGetTemperature(m_nvmlDevice, sensorType, temp); } + nvmlReturn_t NvapiAdapter::GetNvmlDevicePerformanceState(nvmlPstates_t* pState) const { + return m_nvml.DeviceGetPerformanceState(m_nvmlDevice, pState); + } + nvmlReturn_t NvapiAdapter::GetNvmlDeviceUtilizationRates(nvmlUtilization_t* utilization) const { return m_nvml.DeviceGetUtilizationRates(m_nvmlDevice, utilization); } @@ -262,14 +270,6 @@ namespace dxvk { return m_nvml.DeviceGetVbiosVersion(m_nvmlDevice, version, length); } - nvmlReturn_t NvapiAdapter::GetNvmlDevicePerformanceState(nvmlPstates_t* pState) const { - return m_nvml.DeviceGetPerformanceState(m_nvmlDevice, pState); - } - - nvmlReturn_t NvapiAdapter::GetNvmlDeviceClockInfo(nvmlClockType_t type, unsigned int* clock) const { - return m_nvml.DeviceGetClockInfo(m_nvmlDevice, type, clock); - } - nvmlReturn_t NvapiAdapter::GetNvmlDeviceBusType(nvmlBusType_t* type) const { return m_nvml.DeviceGetBusType(m_nvmlDevice, type); } |