Your IP : 18.119.19.206
U
i�fo � @ s~ d ddgZ ddlZddlZddlZddd �Zddd�Zejje_ejje_G dd� dej�Z d d
� Z
dd� Zed
krze� dS )�run�runctx�Profile� N���c C s t �t��| ||�S �N)�
_pyprofile�_Utilsr r )� statement�filename�sort� r �-/opt/alt/python38/lib64/python3.8/cProfile.pyr s c C s t �t��| ||||�S r )r r r r )r �globals�localsr
r r r r
r s �c @ s\ e Zd Zddd�Zdd� Zdd� Zdd � Zd
d� Zdd
� Zdd� Z de _
dd� Zdd� ZdS )r r c C s$ dd l }|�| ��� �|��� d S �Nr )�pstats�StatsZ
strip_dirsZ
sort_stats�print_stats)�selfr r r r r
r ) s zProfile.print_statsc C s8 dd l }t|d��}| �� |�| j|� W 5 Q R X d S )Nr �wb)�marshal�open�create_stats�dump�stats)r �filer �fr r r
�
dump_stats- s zProfile.dump_statsc C s | � � | �� d S r )�disable�snapshot_stats�r r r r
r 3 s zProfile.create_statsc
C s, | � � }i | _i }|D ]P}t|j�}|j}||j }|j}|j}i } | |t|j�<