Commits

Brodie Rao  committed 3d61cf0

Include absolute times

  • Participants
  • Parent commits 097c7cc

Comments (0)

Files changed (1)

File gprof2dot.py

                 function_name = self.wrap_function_name(function_name)
             labels.append(function_name)
 
-            for event in TOTAL_TIME_RATIO, TIME_RATIO:
+            for event in TOTAL_TIME, TOTAL_TIME_RATIO, TIME, TIME_RATIO:
                 if event in function.events:
                     label = event.format(function[event])
                     labels.append(label)
                 callee = profile.functions[call.callee_id]
 
                 labels = []
-                for event in TOTAL_TIME_RATIO, CALLS:
+                for event in TOTAL_TIME, TOTAL_TIME_RATIO, CALLS:
                     if event in call.events:
                         label = event.format(call[event])
                         labels.append(label)