Add support to retrieve process SDMA usage information.

Also, print SDMA usage information in TestProcInfoRead.

Change-Id: I8d19be3b8653e298c81237e5067eca75a1743e70
Este commit está contenido en:
Mukul Joshi
2020-07-13 17:09:11 -04:00
padre 68155baed5
commit eea1ed8c3d
Se han modificado 3 ficheros con 21 adiciones y 1 borrados
+1
Ver fichero
@@ -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;