HSMP system statistics#
HSMP system statistics
Functions | |
amdsmi_status_t | amdsmi_get_cpu_smu_fw_version (amdsmi_processor_handle processor_handle, amdsmi_smu_fw_version_t *amdsmi_smu_fw) |
Get SMU Firmware Version. More... | |
amdsmi_status_t | amdsmi_get_cpu_hsmp_proto_ver (amdsmi_processor_handle processor_handle, uint32_t *proto_ver) |
Get HSMP protocol Version. More... | |
amdsmi_status_t | amdsmi_get_cpu_prochot_status (amdsmi_processor_handle processor_handle, uint32_t *prochot) |
Get normalized status of the processor's PROCHOT status. More... | |
amdsmi_status_t | amdsmi_get_cpu_fclk_mclk (amdsmi_processor_handle processor_handle, uint32_t *fclk, uint32_t *mclk) |
Get Data fabric clock and Memory clock in MHz. More... | |
amdsmi_status_t | amdsmi_get_cpu_cclk_limit (amdsmi_processor_handle processor_handle, uint32_t *cclk) |
Get core clock in MHz. More... | |
amdsmi_status_t | amdsmi_get_cpu_socket_current_active_freq_limit (amdsmi_processor_handle processor_handle, uint16_t *freq, char **src_type) |
Get current active frequency limit of the socket. More... | |
amdsmi_status_t | amdsmi_get_cpu_socket_freq_range (amdsmi_processor_handle processor_handle, uint16_t *fmax, uint16_t *fmin) |
Get socket frequency range. More... | |
amdsmi_status_t | amdsmi_get_cpu_core_current_freq_limit (amdsmi_processor_handle processor_handle, uint32_t *freq) |
Get socket frequency limit of the core. More... | |
Detailed Description
Function Documentation
◆ amdsmi_get_cpu_smu_fw_version()
amdsmi_status_t amdsmi_get_cpu_smu_fw_version | ( | amdsmi_processor_handle | processor_handle, |
amdsmi_smu_fw_version_t * | amdsmi_smu_fw | ||
) |
Get SMU Firmware Version.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] amdsmi_smu_fw - Input buffer to return the firmware version
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_hsmp_proto_ver()
amdsmi_status_t amdsmi_get_cpu_hsmp_proto_ver | ( | amdsmi_processor_handle | processor_handle, |
uint32_t * | proto_ver | ||
) |
Get HSMP protocol Version.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] proto_ver - Input buffer to return the protocol version
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_prochot_status()
amdsmi_status_t amdsmi_get_cpu_prochot_status | ( | amdsmi_processor_handle | processor_handle, |
uint32_t * | prochot | ||
) |
Get normalized status of the processor's PROCHOT status.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] prochot - Input buffer to return the procohot status.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_fclk_mclk()
amdsmi_status_t amdsmi_get_cpu_fclk_mclk | ( | amdsmi_processor_handle | processor_handle, |
uint32_t * | fclk, | ||
uint32_t * | mclk | ||
) |
Get Data fabric clock and Memory clock in MHz.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] fclk - Input buffer to return fclk [in,out] mclk - Input buffer to return mclk
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_cclk_limit()
amdsmi_status_t amdsmi_get_cpu_cclk_limit | ( | amdsmi_processor_handle | processor_handle, |
uint32_t * | cclk | ||
) |
Get core clock in MHz.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] cclk - Input buffer to return core clock
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_socket_current_active_freq_limit()
amdsmi_status_t amdsmi_get_cpu_socket_current_active_freq_limit | ( | amdsmi_processor_handle | processor_handle, |
uint16_t * | freq, | ||
char ** | src_type | ||
) |
Get current active frequency limit of the socket.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] freq - Input buffer to return frequency value in MHz [in,out] src_type - Input buffer to return frequency source name
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_socket_freq_range()
amdsmi_status_t amdsmi_get_cpu_socket_freq_range | ( | amdsmi_processor_handle | processor_handle, |
uint16_t * | fmax, | ||
uint16_t * | fmin | ||
) |
Get socket frequency range.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in,out] fmax - Input buffer to return maximum frequency [in,out] fmin - Input buffer to return minimum frequency
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_core_current_freq_limit()
amdsmi_status_t amdsmi_get_cpu_core_current_freq_limit | ( | amdsmi_processor_handle | processor_handle, |
uint32_t * | freq | ||
) |
Get socket frequency limit of the core.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu core which to query [in,out] freq - Input buffer to return frequency.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail