Event counter support

XGMI related events are supported

Change-Id: Ic99d5a1847e8d28b22ad0b61cb9ea206eb878708


[ROCm/rocm_smi_lib commit: 075833e9a5]
This commit is contained in:
Chris Freehill
2019-06-21 18:27:50 -05:00
parent 5b40b44aa8
commit e1b784a3b0
9 changed files with 408 additions and 18 deletions
@@ -72,6 +72,7 @@
#include "functional/err_cnt_read.h"
#include "functional/mem_util_read.h"
#include "functional/id_info_read.h"
#include "rocm_smi_test/functional/perf_cntr_read_write.h"
static RSMITstGlobals *sRSMIGlvalues = nullptr;
@@ -198,7 +199,10 @@ TEST(rsmitstReadOnly, TestIdInfoRead) {
TestIdInfoRead tst;
RunGenericTest(&tst);
}
TEST(rsmitstreadWrite,TestPerfCntrReadWrite) {
TestPerfCntrReadWrite tst;
RunGenericTest(&tst);
}
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);