mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
GH-90230: Add stats to breakdown the origin of calls to PyEval_EvalFrame
(GH-93284)
This commit is contained in:
parent
8995177030
commit
bbcf42449e
13 changed files with 63 additions and 11 deletions
|
@ -68,6 +68,7 @@ extern PyObject* _PyEval_BuiltinsFromGlobals(
|
|||
static inline PyObject*
|
||||
_PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag)
|
||||
{
|
||||
EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
|
||||
if (tstate->interp->eval_frame == NULL) {
|
||||
return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue