Skip to content

Commit 0edde64

Browse files
authored
GH-117457: Correct pystats uop "miss" counts (GH-117477)
1 parent b5e6091 commit 0edde64

File tree

4 files changed

+548
-144
lines changed

4 files changed

+548
-144
lines changed

Python/ceval.c

-2
Original file line numberDiff line numberDiff line change
@@ -1083,15 +1083,13 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10831083
}
10841084
#endif
10851085
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
1086-
UOP_STAT_INC(uopcode, miss);
10871086
Py_DECREF(current_executor);
10881087
tstate->previous_executor = NULL;
10891088
DISPATCH();
10901089

10911090
exit_to_trace:
10921091
assert(next_uop[-1].format == UOP_FORMAT_EXIT);
10931092
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
1094-
UOP_STAT_INC(uopcode, miss);
10951093
uint32_t exit_index = next_uop[-1].exit_index;
10961094
assert(exit_index < current_executor->exit_count);
10971095
_PyExitData *exit = &current_executor->exits[exit_index];

0 commit comments

Comments
 (0)