summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2023-10-05 15:12:06 (GMT)
committerGitHub <noreply@github.com>2023-10-05 15:12:06 (GMT)
commit9eb2489266c4c1f115b8f72c0728db737cc8a815 (patch)
tree5803b53373eaff3fef48b53208e2dae001d27223 /Include
parent1328fa31fe9c72748fc6fd11d017c82aafd48a49 (diff)
downloadcpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.zip
cpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.tar.gz
cpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.tar.bz2
gh-109329: Add stat for "trace too short" (GH-110402)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/pystats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pystats.h b/Include/cpython/pystats.h
index 056406e..4988caa 100644
--- a/Include/cpython/pystats.h
+++ b/Include/cpython/pystats.h
@@ -110,6 +110,7 @@ typedef struct _optimization_stats {
uint64_t trace_stack_overflow;
uint64_t trace_stack_underflow;
uint64_t trace_too_long;
+ uint64_t trace_too_short;
uint64_t inner_loop;
uint64_t recursive_call;
UOpStats opcode[512];