Skip to content

Commit 86bc75d

Browse files
authored
Merge pull request #340 from intel/SPR_EMR_cstate_metric_update
SPR_EMR_cstate_metric_update
2 parents 5adad18 + fb93def commit 86bc75d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

EMR/metrics/emeraldrapids_metrics.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@
11151115
"Alias": "socket_count"
11161116
}
11171117
],
1118-
"Formula": "(b / a[0]) * socket_count",
1118+
"Formula": "(b / a) * socket_count",
11191119
"Category": "Power",
11201120
"ResolutionLevels": "SOCKET, SYSTEM",
11211121
"MetricGroup": "cpu_cstate"
@@ -1142,7 +1142,7 @@
11421142
"Alias": "socket_count"
11431143
}
11441144
],
1145-
"Formula": "(b / a[0]) * socket_count",
1145+
"Formula": "(b / a) * socket_count",
11461146
"Category": "Power",
11471147
"ResolutionLevels": "SOCKET, SYSTEM",
11481148
"MetricGroup": "cpu_cstate"

EMR/metrics/perf/emeraldrapids_metrics_perf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,13 @@
321321
},
322322
{
323323
"BriefDescription": "The average number of cores that are in cstate C0 as observed by the power control unit (PCU)",
324-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
324+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / UNC_P_CLOCKTICKS ) * #num_packages",
325325
"MetricGroup": "cpu_cstate",
326326
"MetricName": "cpu_cstate_c0"
327327
},
328328
{
329329
"BriefDescription": "The average number of cores are in cstate C6 as observed by the power control unit (PCU)",
330-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
330+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / UNC_P_CLOCKTICKS ) * #num_packages",
331331
"MetricGroup": "cpu_cstate",
332332
"MetricName": "cpu_cstate_c6"
333333
}

SPR/metrics/perf/sapphirerapids_metrics_perf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,13 @@
398398
},
399399
{
400400
"BriefDescription": "The average number of cores that are in cstate C0 as observed by the power control unit (PCU)",
401-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
401+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / UNC_P_CLOCKTICKS ) * #num_packages",
402402
"MetricGroup": "cpu_cstate",
403403
"MetricName": "cpu_cstate_c0"
404404
},
405405
{
406406
"BriefDescription": "The average number of cores are in cstate C6 as observed by the power control unit (PCU)",
407-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
407+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / @UNC_P_CLOCKTICKS ) * #num_packages",
408408
"MetricGroup": "cpu_cstate",
409409
"MetricName": "cpu_cstate_c6"
410410
}

SPR/metrics/perf/sapphirerapidshbm_metrics_perf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,13 @@
398398
},
399399
{
400400
"BriefDescription": "The average number of cores that are in cstate C0 as observed by the power control unit (PCU)",
401-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
401+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C0 / UNC_P_CLOCKTICKS ) * #num_packages",
402402
"MetricGroup": "cpu_cstate",
403403
"MetricName": "cpu_cstate_c0"
404404
},
405405
{
406406
"BriefDescription": "The average number of cores are in cstate C6 as observed by the power control unit (PCU)",
407-
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / pcu_0@UNC_P_CLOCKTICKS@ ) * #num_packages",
407+
"MetricExpr": "( UNC_P_POWER_STATE_OCCUPANCY_CORES_C6 / UNC_P_CLOCKTICKS ) * #num_packages",
408408
"MetricGroup": "cpu_cstate",
409409
"MetricName": "cpu_cstate_c6"
410410
}

SPR/metrics/sapphirerapids_metrics.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@
13341334
"Alias": "socket_count"
13351335
}
13361336
],
1337-
"Formula": "(b / a[0]) * socket_count",
1337+
"Formula": "(b / a) * socket_count",
13381338
"Category": "Power",
13391339
"ResolutionLevels": "SOCKET, SYSTEM",
13401340
"MetricGroup": "cpu_cstate"
@@ -1361,7 +1361,7 @@
13611361
"Alias": "socket_count"
13621362
}
13631363
],
1364-
"Formula": "(b / a[0]) * socket_count",
1364+
"Formula": "(b / a) * socket_count",
13651365
"Category": "Power",
13661366
"ResolutionLevels": "SOCKET, SYSTEM",
13671367
"MetricGroup": "cpu_cstate"

SPR/metrics/sapphirerapidshbm_metrics.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@
13341334
"Alias": "socket_count"
13351335
}
13361336
],
1337-
"Formula": "(b / a[0]) * socket_count",
1337+
"Formula": "(b / a) * socket_count",
13381338
"Category": "Power",
13391339
"ResolutionLevels": "SOCKET, SYSTEM",
13401340
"MetricGroup": "cpu_cstate"
@@ -1361,7 +1361,7 @@
13611361
"Alias": "socket_count"
13621362
}
13631363
],
1364-
"Formula": "(b / a[0]) * socket_count",
1364+
"Formula": "(b / a) * socket_count",
13651365
"Category": "Power",
13661366
"ResolutionLevels": "SOCKET, SYSTEM",
13671367
"MetricGroup": "cpu_cstate"

0 commit comments

Comments
 (0)