Add support to read gpu_metrics version 1.2

gpu_metrics version 1.2 provides atomic timestamp. Use this timestamp.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: I7a1a675f53b93718f34b1f2979173e9064e0ef93
이 커밋은 다음에 포함됨:
Harish Kasiviswanathan가 2021-05-05 12:31:10 -04:00를 커밋했습니다
1 부모 e83cf605c6
커밋 6b10a7761b
2 파일이 변경됨
+40 -10

검색과 일치하는 파일 없음

+1
파일 보기
@@ -834,6 +834,7 @@ struct metrics_table_header_t {
// The content version increments when gpu_metrics is extended with new and/or
// existing field sizes are changed.
#define RSMI_GPU_METRICS_API_CONTENT_VER_1 1
#define RSMI_GPU_METRICS_API_CONTENT_VER_2 2
// This should match NUM_HBM_INSTANCES
#define RSMI_NUM_HBM_INSTANCES 4