o
    ù»Îh  ã                   @   sD   d dl mZ d dlmZ ddlmZ d
dee dee fdd„Zd	S )é    )ÚOptional)Úprotoné   )Úget_profiling_onÚsessionÚreturnc                 C   s   t ƒ sdS t | ¡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   Ú	libprotonZget_context_depth)r   © r	   ú]/home/www/facesmatcher.com/frenv_anti/lib/python3.10/site-packages/triton/profiler/context.pyÚdepth   s   

r   N)r   )	Útypingr   Ztriton._C.libprotonr   r   Úflagsr   Úintr   r	   r	   r	   r
   Ú<module>   s     