Bandwidth monitor#
Bandwidth monitor
Functions | |
| amdsmi_status_t | amdsmi_get_cpu_current_io_bandwidth (amdsmi_processor_handle processor_handle, amdsmi_link_id_bw_type_t link, uint32_t *io_bw) |
| Get current input output bandwidth. More... | |
| amdsmi_status_t | amdsmi_get_cpu_current_xgmi_bw (amdsmi_processor_handle processor_handle, amdsmi_link_id_bw_type_t link, uint32_t *xgmi_bw) |
| Get current input output bandwidth. More... | |
Detailed Description
Function Documentation
◆ amdsmi_get_cpu_current_io_bandwidth()
| amdsmi_status_t amdsmi_get_cpu_current_io_bandwidth | ( | amdsmi_processor_handle | processor_handle, |
| amdsmi_link_id_bw_type_t | link, | ||
| uint32_t * | io_bw | ||
| ) |
Get current input output bandwidth.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] link - link id and bw type to which io bandwidth to be obtained [in,out] io_bw - Input buffer to fill bandwidth data
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_get_cpu_current_xgmi_bw()
| amdsmi_status_t amdsmi_get_cpu_current_xgmi_bw | ( | amdsmi_processor_handle | processor_handle, |
| amdsmi_link_id_bw_type_t | link, | ||
| uint32_t * | xgmi_bw | ||
| ) |
Get current input output bandwidth.
- Platform:
- cpu_bm
- Parameters
-
[in] processor_handle Cpu socket which to query [in] link - link id and bw type to which xgmi bandwidth to be obtained [in,out] xgmi_bw - Input buffer to fill bandwidth data
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail