Commit 0b4b32d9 authored by mike@belshe.com's avatar mike@belshe.com

add ticks to tickprocessor

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1323 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c86b47f4
......@@ -341,7 +341,7 @@ class TickProcessor(object):
def PrintHeader(self, header_title):
print('\n [%s]:' % header_title)
print(' total nonlib name')
print(' ticks total nonlib name')
def PrintEntries(self, entries, condition):
# If ignoring unaccounted ticks don't include these in percentage
......@@ -359,7 +359,8 @@ class TickProcessor(object):
non_library_percentage = 0
else:
non_library_percentage = entry.tick_count * 100.0 / number_of_non_library_ticks
print(' %(total)5.1f%% %(nonlib)6.1f%% %(name)s' % {
print(' %(ticks)5d %(total)5.1f%% %(nonlib)6.1f%% %(name)s' % {
'ticks' : entry.tick_count,
'total' : total_percentage,
'nonlib' : non_library_percentage,
'name' : entry.ToString()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment