Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: tools/tickprocessor.py

Issue 27050: Added ticks to the display of unknown time in the profile. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tickprocessor.py
===================================================================
--- tools/tickprocessor.py (revision 1338)
+++ tools/tickprocessor.py (working copy)
@@ -321,7 +321,8 @@
if not self.ignore_unknown and self.unaccounted_number_of_ticks > 0:
self.PrintHeader('Unknown')
unknown_percentage = self.unaccounted_number_of_ticks * 100.0 / self.total_number_of_ticks
- print(' %(total)5.1f%%' % {
+ print(' %(ticks)5d %(total)5.1f%%' % {
+ 'ticks' : self.unaccounted_number_of_ticks,
'total' : unknown_percentage,
})
# Print the library ticks.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698