
    Ji                     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   )flagssessionreturnc                 Z    [         R                  (       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   profiling_on	libprotonget_context_depth)r   s    Y/var/www/html/dynamic-report/venv/lib/python3.13/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   