Add support to retrieve process SDMA usage information.

Also, print SDMA usage information in TestProcInfoRead.

Change-Id: I8d19be3b8653e298c81237e5067eca75a1743e70


[ROCm/amdsmi commit: eea1ed8c3d]
Tá an tiomantas seo le fáil i:
Mukul Joshi tiomanta 2020-07-13 17:32:08 -04:00
1 tuismitheoir 55c91f9c24
tiomantas 7c6027d790
3 comhad athraithe
+21 -1

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -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;