aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2017-12-12 14:02:39 +0000
committerCharles Baylis <charles.baylis@linaro.org>2017-12-12 14:02:39 +0000
commita871ab4e1ccd6d11e5a9cd2db934de5f4c2bf51e (patch)
tree0749fcea958a767cbf835682cbb38aae9f5eeeeb
parent4e05950920538d97aa6400c7f606f79cad584c64 (diff)
CPU number heading
Change-Id: I889507f530b774ea7f25ba2f2e052ed194080742
-rw-r--r--perf-utilization.pl15
1 files changed, 13 insertions, 2 deletions
diff --git a/perf-utilization.pl b/perf-utilization.pl
index 7e97a16..c929fd7 100644
--- a/perf-utilization.pl
+++ b/perf-utilization.pl
@@ -78,7 +78,7 @@ print $fh <<EOF;
span#hoverprofile {
visibility: hidden;
- background-color: #ff80ff;
+ background-color: #ffa0ff;
color: black;
text-align: left;
border-radius: 6px;
@@ -88,6 +88,11 @@ span#hoverprofile {
z-index: 1;
}
+th {
+ writing-mode: vertical-lr;
+ transform:rotate(190deg);
+}
+
.bg0:hover span#hoverprofile { visibility: visible; }
.bg10:hover span#hoverprofile { visibility: visible; }
.bg20:hover span#hoverprofile { visibility: visible; }
@@ -102,9 +107,15 @@ span#hoverprofile {
</head>
<body>
<table>
-
EOF
+print $fh "<tr>";
+for (my $c=0; $c<=$max_cpu; $c++)
+{
+ print $fh "<th>CPU$c</th>";
+}
+print $fh "</tr>\n";
+
my $start_time=$time[0];
my %counts;
my %locs;