Renamed API amdsmi_dev_get_power_ave to

amdsmi_get_power_ave

grep -rli 'amdsmi_dev_get_power_ave' * | xargs -i@ sed -i
's/amdsmi_dev_get_power_ave/amdsmi_get_power_ave/g' @

Change-Id: Ie10de251d1e7b884b6233af05b37ff7b56075d4b
This commit is contained in:
Deepak Mewar
2023-02-25 07:57:37 -05:00
committed by Naveen Krishna Chatradhi
parent cc1a9d4522
commit 394a1b4d67
9 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -1647,7 +1647,7 @@ amdsmi_status_t amdsmi_set_gpu_pci_bandwidth(amdsmi_processor_handle processor_
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
*/
amdsmi_status_t
amdsmi_dev_get_power_ave(amdsmi_processor_handle processor_handle, uint32_t sensor_ind, uint64_t *power);
amdsmi_get_power_ave(amdsmi_processor_handle processor_handle, uint32_t sensor_ind, uint64_t *power);
/**
* @brief Get the energy accumulator counter of the device with provided
@@ -1657,7 +1657,7 @@ amdsmi_dev_get_power_ave(amdsmi_processor_handle processor_handle, uint32_t sens
* @p power, and a pointer to a uint64_t @p timestamp, this function will write
* amount of energy consumed to the uint64_t pointed to by @p power,
* and the timestamp to the uint64_t pointed to by @p timestamp.
* The amdsmi_dev_get_power_ave() is an average of a short time. This function
* The amdsmi_get_power_ave() is an average of a short time. This function
* accumulates all energy consumed.
*
* @param[in] processor_handle a device handle