Home | History | Annotate | Download | only in tools

Lines Matching full:ticks

132     # Convert the ticks map to offsets and counts arrays so that later
150 # Ticks (reported pc values) are not always precise, i.e. not
152 # for ticks that touch the current instruction line.
167 "Lost ticks (%d != %d) in %s" % (total_count, self.self_ticks, self)
690 self.ticks = {}
702 mmap_info.ticks = 0
759 mmap_info.ticks += 1
792 def PrintReport(code_map, library_repo, arch, ticks, options):
793 print "Ticks per symbol:"
798 print "%10d %5.1f%% %s [%s]" % (code_ticks, 100. * code_ticks / ticks,
803 print "Ticks per library:"
805 mmap_infos.sort(key=lambda m: m.ticks, reverse=True)
807 mmap_ticks = mmap_info.ticks
808 print "%10d %5.1f%% %s" % (mmap_ticks, 100. * mmap_ticks / ticks,
819 for callee, ticks in code.callee_ticks.iteritems():
820 print "n%d -> n%d [label=\"%d\"];" % (code.id, callee.id, ticks)
874 ticks = 0
914 ticks += 1
936 PrintReport(code_map, library_repo, log_reader.arch, ticks, options)
942 print "%10d total ticks" % ticks
943 print "%10d ticks not in symbols" % missed_ticks
944 print "%10d unaccounted ticks" % really_missed_ticks