• Home
  • Raw
  • Download

Lines Matching +full:no +full:- +full:ct

14 # http://www.apache.org/licenses/LICENSE-2.0
92 addition to the old -1, 0, 1, or 2 that are respectively interpreted as
133 (self.files[-1] if self.files else ''), file=self.stream)
159 for func, (cc, nc, tt, ct, callers) in self.stats.items():
202 "calls" : (((1,-1), ), "call count"),
203 "ncalls" : (((1,-1), ), "call count"),
204 "cumtime" : (((3,-1), ), "cumulative time"),
205 "cumulative": (((3,-1), ), "cumulative time"),
211 "pcalls" : (((0,-1), ), "primitive call count"),
213 "time" : (((2,-1), ), "internal time"),
214 "tottime" : (((2,-1), ), "internal time"),
231 fragment = fragment[:-1]
242 field = [ {-1: "stdname",
264 for func, (cc, nc, tt, ct, callers) in self.stats.items():
265 stats_list.append((cc, nc, tt, ct) + func +
272 fcn_list.append(tuple[-1])
284 for func, (cc, nc, tt, ct, callers) in oldstats.items():
295 (cc, nc, tt, ct, newcallers))
297 newstats[newfunc] = (cc, nc, tt, ct, newcallers)
313 for func, (cc, nc, tt, ct, callers) in self.stats.items():
369 cc, nc, tt, ct, callers = self.stats[func]
373 percall_tottime = -1 if nc == 0 else float(f8(tt/nc))
374 cumtime = float(f8(ct))
375 percall_cumtime = -1 if cc == 0 else float(f8(ct/cc))
456 cc, nc, tt, ct, callers = self.stats[func]
457 self.print_call_line(width, func, callers, "<-")
464 # print sub-header only if we have new-style callers
466 for cc, nc, tt, ct, callers in self.stats.values():
474 def print_call_line(self, name_size, source, call_dict, arrow="->"):
485 nc, cc, tt, ct = value
491 f8(tt), f8(ct), name)
504 cc, nc, tt, ct, callers = self.stats[func]
514 print(f8(ct), end=' ', file=self.stream)
518 print(f8(ct/cc), end=' ', file=self.stream)
523 Each instance records a list of tuple-indices (from most significant
525 each tuple-index. The compare functions can then be used as the function
537 return -direction
555 # special case for built-in functions
558 return '{%s}' % name[1:-1]
572 cc, nc, tt, ct, callers = source
574 return (cc+t_cc, nc+t_nc, tt+t_tt, ct+t_ct,
650 print("No statistics object is loaded.", file=self.stream)
667 print("No statistics object is loaded.", file=self.stream)
707 line = self.prompt[:-2]
710 print("No statistics object is current -- cannot reload.", file=self.stream)
720 print("No statistics object is loaded.", file=self.stream)
727 print("No statistics object is loaded.", file=self.stream)
735 print("%s -- %s" % (key, value[1]), file=self.stream)
753 print("No statistics object is loaded.", file=self.stream)