cpython/Lib/profiling/sampling/__init__.py

12 lines
379 B
Python
Raw Normal View History

2025-08-27 17:52:50 +01:00
"""Statistical sampling profiler for Python.
This module provides low-overhead profiling by periodically sampling the
call stack rather than tracing every function call.
"""
from .collector import Collector
from .pstats_collector import PstatsCollector
from .stack_collector import CollapsedStackCollector
__all__ = ("Collector", "PstatsCollector", "CollapsedStackCollector")