
    9i                     J    S SK Jr  S SKJr  SSKJr  S	S\\   S\\   4S jjrg)
    )Optional)proton   )get_profiling_onsessionreturnc                 N    [        5       (       d  g[        R                  " U 5      $ )z
Get the depth of the context.

Args:
    session (int): The session ID of the profiling session. Defaults to 0.

Returns:
    depth (int or None): The depth of the context. If profiling is off, returns None.
N)r   	libprotonget_context_depth)r   s    W/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/triton/profiler/context.pydepthr      s!     &&w//    N)r   )	typingr   triton._C.libprotonr   r
   flagsr   intr    r   r   <module>r      s)     3 #08C= 0# 0r   