mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
GH-117457: Correct pystats uop "miss" counts (GH-117477)
This commit is contained in:
parent
b5e60918af
commit
0edde64a41
4 changed files with 548 additions and 144 deletions
|
@ -1083,7 +1083,6 @@ exit_to_tier1:
|
|||
}
|
||||
#endif
|
||||
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
Py_DECREF(current_executor);
|
||||
tstate->previous_executor = NULL;
|
||||
DISPATCH();
|
||||
|
@ -1091,7 +1090,6 @@ exit_to_tier1:
|
|||
exit_to_trace:
|
||||
assert(next_uop[-1].format == UOP_FORMAT_EXIT);
|
||||
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
uint32_t exit_index = next_uop[-1].exit_index;
|
||||
assert(exit_index < current_executor->exit_count);
|
||||
_PyExitData *exit = ¤t_executor->exits[exit_index];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue