관리-도구
편집 파일: cProfile.cpython-39.opt-2.pyc
a R�f� � @ s| g d �Z ddlZddlZddlZddd�Zddd�Zejje_ejje_G dd � d ej�Z d d� Z dd � Zedkrxe� dS ))�run�runctx�Profile� N���c C s t �t��| ||�S �N)� _pyprofile�_Utilsr r )� statement�filename�sort� r �-/opt/alt/python39/lib64/python3.9/cProfile.pyr s r c C s t �t��| ||||�S r )r r r r )r �globals�localsr r r r r r s �r c @ sV e Zd Zddd�Zdd� Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z dd� 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 sL dd l }t|d��&}| �� |�| j|� W d � n1 s>0 Y 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�<