File: //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/profile.cpython-311.opt-1.pyc
�
    !A?hpY  �                   �   � d Z ddlZddlZddlZddlZg d�Z G d� d�  �        Zd
d�Zd
d�Z G d	� d
�  �        Z	d� Z
edk    r e
�   �          dS dS )z Class for profiling Python code.�    N)�run�runctx�Profilec                   �*   � e Zd ZdZd� Zd� Zd� Zd� ZdS )�_Utilsz�Support class for utility functions which are shared by
    profile.py and cProfile.py modules.
    Not supposed to be used directly.
    c                 �   � || _         d S �N)�profiler)�selfr
   s     �./opt/alt/python311/lib64/python3.11/profile.py�__init__z_Utils.__init__0   s
   � � ��
�
�
�    c                 ��   � | �                     �   �         }	 |�                    |�  �         n# t          $ r Y nw xY w| �                    |||�  �         d S # | �                    |||�  �         w xY wr	   )r
   r   �
SystemExit�_show)r   �	statement�filename�sort�profs        r   r   z
_Utils.run3   s�   � ��}�}����	-��H�H�Y������� 	� 	� 	��D�	���� 
�J�J�t�X�t�,�,�,�,�,��D�J�J�t�X�t�,�,�,�,���s!   �, �A �
9�A �9�A �A.c                 ��   � | �                     �   �         }	 |�                    |||�  �         n# t          $ r Y nw xY w| �                    |||�  �         d S # | �                    |||�  �         w xY wr	   )r
   r   r   r   )r   r   �globals�localsr   r   r   s          r   r   z
_Utils.runctx<