SWDEV-375113 - Fixed process info
The format of the fdinfo file has changed Change-Id: Iad2e26487e75f3e614e364456e929aa1f6f949a4 Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
이 커밋은 다음에 포함됨:
1 부모
cf7a92f383
커밋
411ef54087
6 파일이 변경됨
+97
-104
검색과 일치하는 파일 없음
@@ -388,12 +388,12 @@ typedef struct {
|
||||
amdsmi_process_handle pid;
|
||||
uint64_t mem; /** in bytes */
|
||||
struct {
|
||||
uint16_t gfx[AMDSMI_MAX_MM_IP_COUNT];
|
||||
uint16_t compute[AMDSMI_MAX_MM_IP_COUNT];
|
||||
uint16_t sdma[AMDSMI_MAX_MM_IP_COUNT];
|
||||
uint16_t enc[AMDSMI_MAX_MM_IP_COUNT];
|
||||
uint16_t dec[AMDSMI_MAX_MM_IP_COUNT];
|
||||
} engine_usage; /** percentage 0-100% times 100 */
|
||||
uint64_t gfx;
|
||||
uint64_t compute;
|
||||
uint64_t dma;
|
||||
uint64_t enc;
|
||||
uint64_t dec;
|
||||
} engine_usage; /** How much time the process spend using these engines in ns */
|
||||
struct {
|
||||
uint64_t gtt_mem;
|
||||
uint64_t cpu_mem;
|
||||
@@ -3825,6 +3825,7 @@ amdsmi_get_process_list(amdsmi_device_handle device_handle, amdsmi_process_handl
|
||||
|
||||
/**
|
||||
* @brief Returns the process information of a given process.
|
||||
* Engine usage show how much time the process spend using these engines in ns.
|
||||
*
|
||||
* @param[in] device_handle Device which to query
|
||||
*
|
||||
|
||||
새 이슈에서 참조
사용자 차단