(self, cmd, globals, locals)
| 96 | return self.runctx(cmd, dict, dict) |
| 97 | |
| 98 | def runctx(self, cmd, globals, locals): |
| 99 | self.enable() |
| 100 | try: |
| 101 | exec(cmd, globals, locals) |
| 102 | finally: |
| 103 | self.disable() |
| 104 | return self |
| 105 | |
| 106 | # This method is more useful to profile a single function call. |
| 107 | def runcall(self, func, /, *args, **kw): |