[llvm-commits] [LNT] r165454 - /lnt/trunk/lnt/server/ui/static/v4_global_status.js
Daniel Dunbar
daniel at zuster.org
Mon Oct 8 16:03:09 PDT 2012
Author: ddunbar
Date: Mon Oct 8 18:03:09 2012
New Revision: 165454
URL: http://llvm.org/viewvc/llvm-project?rev=165454&view=rev
Log:
global status: Always show two digits of precision for worst time.
Modified:
lnt/trunk/lnt/server/ui/static/v4_global_status.js
Modified: lnt/trunk/lnt/server/ui/static/v4_global_status.js
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/v4_global_status.js?rev=165454&r1=165453&r2=165454&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/v4_global_status.js (original)
+++ lnt/trunk/lnt/server/ui/static/v4_global_status.js Mon Oct 8 18:03:09 2012
@@ -145,7 +145,7 @@
}
}
- cells[1].innerHTML = (max != -Infinity)? max.toString() + '%' : "";
+ cells[1].innerHTML = (max != -Infinity)? max.toFixed(2) + '%' : "";
cells[1].setAttribute('bgcolor', (max_index != -1)? cells[max_index].getAttribute('bgcolor') : "#dbdbdb");
});
More information about the llvm-commits
mailing list