mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Move stats for the method cache into the Py_STAT machinery (GH-100255)
This commit is contained in:
parent
bdd86741be
commit
48e352a241
4 changed files with 35 additions and 47 deletions
|
|
@ -65,8 +65,15 @@ typedef struct _object_stats {
|
|||
uint64_t dict_materialized_new_key;
|
||||
uint64_t dict_materialized_too_big;
|
||||
uint64_t dict_materialized_str_subclass;
|
||||
uint64_t type_cache_hits;
|
||||
uint64_t type_cache_misses;
|
||||
uint64_t type_cache_dunder_hits;
|
||||
uint64_t type_cache_dunder_misses;
|
||||
uint64_t type_cache_collisions;
|
||||
} ObjectStats;
|
||||
|
||||
#
|
||||
|
||||
typedef struct _stats {
|
||||
OpcodeStats opcode_stats[256];
|
||||
CallStats call_stats;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue