Add support to retrieve process SDMA usage information.

Also, print SDMA usage information in TestProcInfoRead.

Change-Id: I8d19be3b8653e298c81237e5067eca75a1743e70


[ROCm/amdsmi commit: eea1ed8c3d]
This commit is contained in:
Mukul Joshi committed 2020-07-13 17:32:08 -04:00
1 bovenliggende 55c91f9c24
commit 7c6027d790
3 files changed
+21 -1

No files matched your search

@@ -748,6 +748,7 @@ typedef struct {
uint32_t process_id; //!< Process ID
uint32_t pasid; //!< PASID
uint64_t vram_usage; //!< VRAM usage
uint64_t sdma_usage; //!< SDMA usage in microseconds
} rsmi_process_info_t;