Skip to content

Commit d45f012

Browse files
committed
fix sample rate
1 parent 4a7df35 commit d45f012

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/profiling/sampling/live_collector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ def _process_frames(self, frames):
14051405

14061406
def collect_failed_sample(self, exeption):
14071407
self._failed_samples += 1
1408+
self.total_samples += 1
14081409

14091410
def collect(self, stack_frames):
14101411
"""Collect and display profiling data."""

0 commit comments

Comments
 (0)