@@ -1193,7 +1193,7 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1193
1193
& rsd );
1194
1194
if (retiring > 0.7 )
1195
1195
color = PERF_COLOR_GREEN ;
1196
- print_metric (config , ctxp , color , "%8.1f%%" , "retiring " ,
1196
+ print_metric (config , ctxp , color , "%8.1f%%" , "Retiring " ,
1197
1197
retiring * 100. );
1198
1198
} else if (perf_stat_evsel__is (evsel , TOPDOWN_FE_BOUND ) &&
1199
1199
full_td (cpu_map_idx , st , & rsd )) {
@@ -1202,7 +1202,7 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1202
1202
& rsd );
1203
1203
if (fe_bound > 0.2 )
1204
1204
color = PERF_COLOR_RED ;
1205
- print_metric (config , ctxp , color , "%8.1f%%" , "frontend bound " ,
1205
+ print_metric (config , ctxp , color , "%8.1f%%" , "Frontend Bound " ,
1206
1206
fe_bound * 100. );
1207
1207
} else if (perf_stat_evsel__is (evsel , TOPDOWN_BE_BOUND ) &&
1208
1208
full_td (cpu_map_idx , st , & rsd )) {
@@ -1211,7 +1211,7 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1211
1211
& rsd );
1212
1212
if (be_bound > 0.2 )
1213
1213
color = PERF_COLOR_RED ;
1214
- print_metric (config , ctxp , color , "%8.1f%%" , "backend bound " ,
1214
+ print_metric (config , ctxp , color , "%8.1f%%" , "Backend Bound " ,
1215
1215
be_bound * 100. );
1216
1216
} else if (perf_stat_evsel__is (evsel , TOPDOWN_BAD_SPEC ) &&
1217
1217
full_td (cpu_map_idx , st , & rsd )) {
@@ -1220,7 +1220,7 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1220
1220
& rsd );
1221
1221
if (bad_spec > 0.1 )
1222
1222
color = PERF_COLOR_RED ;
1223
- print_metric (config , ctxp , color , "%8.1f%%" , "bad speculation " ,
1223
+ print_metric (config , ctxp , color , "%8.1f%%" , "Bad Speculation " ,
1224
1224
bad_spec * 100. );
1225
1225
} else if (perf_stat_evsel__is (evsel , TOPDOWN_HEAVY_OPS ) &&
1226
1226
full_td (cpu_map_idx , st , & rsd ) && (config -> topdown_level > 1 )) {
@@ -1234,13 +1234,13 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1234
1234
1235
1235
if (retiring > 0.7 && heavy_ops > 0.1 )
1236
1236
color = PERF_COLOR_GREEN ;
1237
- print_metric (config , ctxp , color , "%8.1f%%" , "heavy operations " ,
1237
+ print_metric (config , ctxp , color , "%8.1f%%" , "Heavy Operations " ,
1238
1238
heavy_ops * 100. );
1239
1239
if (retiring > 0.7 && light_ops > 0.6 )
1240
1240
color = PERF_COLOR_GREEN ;
1241
1241
else
1242
1242
color = NULL ;
1243
- print_metric (config , ctxp , color , "%8.1f%%" , "light operations " ,
1243
+ print_metric (config , ctxp , color , "%8.1f%%" , "Light Operations " ,
1244
1244
light_ops * 100. );
1245
1245
} else if (perf_stat_evsel__is (evsel , TOPDOWN_BR_MISPREDICT ) &&
1246
1246
full_td (cpu_map_idx , st , & rsd ) && (config -> topdown_level > 1 )) {
@@ -1254,13 +1254,13 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1254
1254
1255
1255
if (bad_spec > 0.1 && br_mis > 0.05 )
1256
1256
color = PERF_COLOR_RED ;
1257
- print_metric (config , ctxp , color , "%8.1f%%" , "branch mispredict " ,
1257
+ print_metric (config , ctxp , color , "%8.1f%%" , "Branch Mispredict " ,
1258
1258
br_mis * 100. );
1259
1259
if (bad_spec > 0.1 && m_clears > 0.05 )
1260
1260
color = PERF_COLOR_RED ;
1261
1261
else
1262
1262
color = NULL ;
1263
- print_metric (config , ctxp , color , "%8.1f%%" , "machine clears " ,
1263
+ print_metric (config , ctxp , color , "%8.1f%%" , "Machine Clears " ,
1264
1264
m_clears * 100. );
1265
1265
} else if (perf_stat_evsel__is (evsel , TOPDOWN_FETCH_LAT ) &&
1266
1266
full_td (cpu_map_idx , st , & rsd ) && (config -> topdown_level > 1 )) {
@@ -1274,13 +1274,13 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1274
1274
1275
1275
if (fe_bound > 0.2 && fetch_lat > 0.15 )
1276
1276
color = PERF_COLOR_RED ;
1277
- print_metric (config , ctxp , color , "%8.1f%%" , "fetch latency " ,
1277
+ print_metric (config , ctxp , color , "%8.1f%%" , "Fetch Latency " ,
1278
1278
fetch_lat * 100. );
1279
1279
if (fe_bound > 0.2 && fetch_bw > 0.1 )
1280
1280
color = PERF_COLOR_RED ;
1281
1281
else
1282
1282
color = NULL ;
1283
- print_metric (config , ctxp , color , "%8.1f%%" , "fetch bandwidth " ,
1283
+ print_metric (config , ctxp , color , "%8.1f%%" , "Fetch Bandwidth " ,
1284
1284
fetch_bw * 100. );
1285
1285
} else if (perf_stat_evsel__is (evsel , TOPDOWN_MEM_BOUND ) &&
1286
1286
full_td (cpu_map_idx , st , & rsd ) && (config -> topdown_level > 1 )) {
@@ -1294,13 +1294,13 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
1294
1294
1295
1295
if (be_bound > 0.2 && mem_bound > 0.2 )
1296
1296
color = PERF_COLOR_RED ;
1297
- print_metric (config , ctxp , color , "%8.1f%%" , "memory bound " ,
1297
+ print_metric (config , ctxp , color , "%8.1f%%" , "Memory Bound " ,
1298
1298
mem_bound * 100. );
1299
1299
if (be_bound > 0.2 && core_bound > 0.1 )
1300
1300
color = PERF_COLOR_RED ;
1301
1301
else
1302
1302
color = NULL ;
1303
- print_metric (config , ctxp , color , "%8.1f%%" , "Core bound " ,
1303
+ print_metric (config , ctxp , color , "%8.1f%%" , "Core Bound " ,
1304
1304
core_bound * 100. );
1305
1305
} else if (evsel -> metric_expr ) {
1306
1306
generic_metric (config , evsel -> metric_expr , evsel -> metric_events , NULL ,
0 commit comments