MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / calc_callees

Method calc_callees

tools/python-3.11.9-amd64/Lib/pstats.py:310–321  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308 return self
309
310 def calc_callees(self):
311 if self.all_callees:
312 return
313 self.all_callees = all_callees = {}
314 for func, (cc, nc, tt, ct, callers) in self.stats.items():
315 if not func in all_callees:
316 all_callees[func] = {}
317 for func2, caller in callers.items():
318 if not func2 in all_callees:
319 all_callees[func2] = {}
320 all_callees[func2][func] = caller
321 return
322
323 #******************************************************************
324 # The following functions support actual printing of reports

Callers 1

print_calleesMethod · 0.95

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected