mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
GH-109329: Add tier 2 stats (GH-109913)
This commit is contained in:
parent
f7860295b1
commit
e561e98058
9 changed files with 483 additions and 128 deletions
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -2988,7 +2988,7 @@
|
|||
// Double-check that the opcode isn't instrumented or something:
|
||||
here->op.code == JUMP_BACKWARD)
|
||||
{
|
||||
OBJECT_STAT_INC(optimization_attempts);
|
||||
OPT_STAT_INC(attempts);
|
||||
int optimized = _PyOptimizer_BackEdge(frame, here, next_instr, stack_pointer);
|
||||
if (optimized < 0) goto error;
|
||||
if (optimized) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue