(self, cmd, globals, locals)
| 112 | return self.runctx(cmd, dict, dict) |
| 113 | |
| 114 | def runctx(self, cmd, globals, locals): |
| 115 | self.enable() |
| 116 | try: |
| 117 | exec(cmd, globals, locals) |
| 118 | finally: |
| 119 | self.disable() |
| 120 | return self |
| 121 | |
| 122 | # This method is more useful to profile a single function call. |
| 123 | def runcall(self, func, /, *args, **kw): |