
    -i                     F    d dl mZ d dlmZ ddlmZ d	dee   dee   fdZy)
    )Optional)proton   )flagssessionreturnc                 N    t         j                  syt        j                  |       S )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   profiling_on	libprotonget_context_depth)r   s    a/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/triton/profiler/context.pydepthr      s!     &&w//    N)r   )typingr   triton._C.libprotonr   r   r   intr    r   r   <module>r      s)     3 08C= 0# 0r   