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
Tá an tiomantas seo le fáil i:
Harish Kasiviswanathan tiomanta 2021-05-05 12:31:10 -04:00
1 tuismitheoir e83cf605c6
tiomantas 6b10a7761b
2 comhad athraithe
+40 -10

Níor tháinig aon chomhaid le do chuardach

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