diff options
author | Mark Shannon <mark@hotpy.org> | 2022-02-02 11:01:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 11:01:33 (GMT) |
commit | 187930f74c44e460ba09c60ba5d9bb4fac543d8f (patch) | |
tree | 34c1c536986e6a5b33b66e4aad10e7594ccb3ba0 /Include/internal/pycore_code.h | |
parent | a05866ce3e617e2b74c205f27a89eab63c7b3101 (diff) | |
download | cpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.zip cpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.tar.gz cpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.tar.bz2 |
bpo-46072: Add some frame stats. (GH-31060)
Diffstat (limited to 'Include/internal/pycore_code.h')
-rw-r--r-- | Include/internal/pycore_code.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 45c7752..3897ea0 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -303,6 +303,8 @@ typedef struct _opcode_stats { typedef struct _call_stats { uint64_t inlined_py_calls; uint64_t pyeval_calls; + uint64_t frames_pushed; + uint64_t frame_objects_created; } CallStats; typedef struct _object_stats { |