summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pystats.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/pystats.h')
-rw-r--r--Include/cpython/pystats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/pystats.h b/Include/cpython/pystats.h
index bf0cfe4..0f50439 100644
--- a/Include/cpython/pystats.h
+++ b/Include/cpython/pystats.h
@@ -133,6 +133,9 @@ typedef struct _rare_event_stats {
uint64_t builtin_dict;
/* Modifying a function, e.g. func.__defaults__ = ..., etc. */
uint64_t func_modification;
+ /* Modifying a dict that is being watched */
+ uint64_t watched_dict_modification;
+ uint64_t watched_globals_modification;
} RareEventStats;
typedef struct _stats {