Temperature Query

Temperature Query#

AMD SMI: Temperature Query
Temperature Query

Functions

amdsmi_status_t amdsmi_get_cpu_socket_temperature (amdsmi_processor_handle processor_handle, uint32_t *ptmon)
 Get socket temperature. More...
 

Detailed Description

Function Documentation

◆ amdsmi_get_cpu_socket_temperature()

amdsmi_status_t amdsmi_get_cpu_socket_temperature ( amdsmi_processor_handle  processor_handle,
uint32_t *  ptmon 
)

Get socket temperature.

Platform:
cpu_bm
Parameters
[in]processor_handleCpu socket which to query
[in,out]ptmon- Input buffer to fill temperature value
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail