summaryrefslogtreecommitdiff
path: root/pt
diff options
context:
space:
mode:
Diffstat (limited to 'pt')
-rwxr-xr-xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pt b/pt
index bca7d5b..c17d902 100755
--- a/pt
+++ b/pt
@@ -81,7 +81,7 @@ rwidth = $order.map { | x | x.to_s.size }.max
81$horiz.keys.sort.each do | occ | 81$horiz.keys.sort.each do | occ |
82 $stdout.write(" " * rwidth + " #{$horiz[occ].ljust($maxtime)}") 82 $stdout.write(" " * rwidth + " #{$horiz[occ].ljust($maxtime)}")
83 count = $horiz[occ].delete(" ").size 83 count = $horiz[occ].delete(" ").size
84 $stdout.write(" #{($maxtime.to_f / count.to_f).round(2).to_s.rjust(5)} cyc/evt\n") 84 $stdout.write(" #{($maxtime.to_f / count.to_f).round(2).to_s.rjust(10)} cyc/evt #{(count.to_f / $maxtime.to_f).round(2).to_s.rjust(10)} evt/cyc\n")
85end 85end
86$stdout.write("\n") 86$stdout.write("\n")
87 87