mercurial/statprof.py
changeset 51811 460e80488cf0
parent 51170 933551630b0d
child 51830 454feddab720
--- a/mercurial/statprof.py	Tue Aug 20 17:46:17 2024 -0400
+++ b/mercurial/statprof.py	Tue Aug 20 18:30:47 2024 -0400
@@ -113,6 +113,10 @@
 import threading
 import time
 
+from typing import (
+    List,
+)
+
 from .pycompat import open
 from . import (
     encoding,
@@ -155,6 +159,8 @@
 
 
 class ProfileState:
+    samples: List["Sample"]
+
     def __init__(self, frequency=None):
         self.reset(frequency)
         self.track = b'cpu'