mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
gh-112320: Implement on-trace confidence tracking for branches (#112321)
We track the confidence as a scaled int.
This commit is contained in:
parent
dfaa9e060b
commit
7316dfb0eb
6 changed files with 56 additions and 3 deletions
|
|
@ -114,6 +114,7 @@ typedef struct _optimization_stats {
|
|||
uint64_t trace_too_short;
|
||||
uint64_t inner_loop;
|
||||
uint64_t recursive_call;
|
||||
uint64_t low_confidence;
|
||||
UOpStats opcode[512];
|
||||
uint64_t unsupported_opcode[256];
|
||||
uint64_t trace_length_hist[_Py_UOP_HIST_SIZE];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue