MCPcopy Index your code
hub / github.com/python/cpython / simulate_call

Method simulate_call

Lib/profile.py:373–380  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

371 self.f_back = prior
372
373 def simulate_call(self, name):
374 code = self.fake_code('profile', 0, name)
375 if self.cur:
376 pframe = self.cur[-2]
377 else:
378 pframe = None
379 frame = self.fake_frame(code, pframe)
380 self.dispatch['call'](self, frame, 0)
381
382 # collect stats from pending stack, including getting final
383 # timings for self.cmd frame.

Callers 2

__init__Method · 0.95
set_cmdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected