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

Method run

tools/python-3.11.9-amd64/Lib/cProfile.py:93–96  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

91 # a profiler to profile a statement, given as a string.
92
93 def run(self, cmd):
94 import __main__
95 dict = __main__.__dict__
96 return self.runctx(cmd, dict, dict)
97
98 def runctx(self, cmd, globals, locals):
99 self.enable()

Callers 1

runFunction · 0.45

Calls 1

runctxMethod · 0.95

Tested by

no test coverage detected