mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +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
|
@ -198,6 +198,7 @@ builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
|
|||
goto error;
|
||||
}
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
|
||||
cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
|
||||
if (cell != NULL) {
|
||||
if (bases != orig_bases) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue