Renamed API amdsmi_read_counter

to amdsmi_gpu_read_counter

grep -rli 'amdsmi_read_counter' * | xargs -i@ sed -i
's/amdsmi_read_counter/amdsmi_gpu_read_counter/g' @

Change-Id: Ie9fec914358dd901930db54ab94e05f2fe32fa5a
This commit is contained in:
Deepak Mewar
2023-02-27 02:06:14 -05:00
committed by Naveen Krishna Chatradhi
parent 6e1a72d2c1
commit 7a6c26244e
8 changed files with 23 additions and 23 deletions
@@ -136,7 +136,7 @@ void TestPerfCntrReadWrite::CountEvents(amdsmi_processor_handle dv_ind,
}
sleep(sleep_sec);
ret = amdsmi_read_counter(evt_handle, val);
ret = amdsmi_gpu_read_counter(evt_handle, val);
CHK_ERR_ASRT(ret)
IF_VERB(STANDARD) {
@@ -325,7 +325,7 @@ TestPerfCntrReadWrite::testEventsSimultaneously(amdsmi_processor_handle dv_ind)
for (j = 0; j < num_created; ++j) {
tmp = static_cast<amdsmi_event_type_t>(evnt + j);
ret = amdsmi_read_counter(evt_handle.get()[j], &val);
ret = amdsmi_gpu_read_counter(evt_handle.get()[j], &val);
CHK_ERR_ASRT(ret)
IF_VERB(STANDARD) {