diff options
Diffstat (limited to 'perf-utilization.pl')
-rw-r--r-- | perf-utilization.pl | 15 |
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; |