mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Better units, r=brendan
This commit is contained in:
parent
43be8183c0
commit
cf909d95d2
@ -238,13 +238,13 @@ sub print_delta {
|
||||
if ($value >= 1000000) {
|
||||
$value = int($value / 1000000);
|
||||
$min = int($min / 1000000);
|
||||
$units = "Mb";
|
||||
$units = " M";
|
||||
}
|
||||
else {
|
||||
if ($value >= 1000) {
|
||||
$value = int($value / 1000);
|
||||
$min = int($min / 1000);
|
||||
$units = "Kb";
|
||||
$units = " K";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user