mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
Add miss stats for specialized instructions. (GH-31108)
This commit is contained in:
parent
ba650af7d6
commit
832876b992
3 changed files with 43 additions and 31 deletions
|
@ -5403,6 +5403,7 @@ handle_eval_breaker:
|
|||
#define MISS_WITH_CACHE(opname) \
|
||||
opname ## _miss: \
|
||||
{ \
|
||||
STAT_INC(opcode, miss); \
|
||||
STAT_INC(opname, miss); \
|
||||
_PyAdaptiveEntry *cache = &GET_CACHE()->adaptive; \
|
||||
cache->counter--; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue