관리-도구
편집 파일: cProfile.cpython-310.opt-2.pyc
o 6��f� � @ s� g d �Z ddlZddlZddlZddd�Zddd�Zejje_ejje_G dd � d ej�Z d d� Z dd � Zedkr?e� dS dS ))�run�runctx�Profile� N���c C s t �t��| ||�S �N)� _pyprofile�_Utilsr r )� statement�filename�sort� r �//opt/alt/python310/lib64/python3.10/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 @ sX e Zd Z ddd�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 sN dd l }t|d��}| �� |�| j|� W d � d S 1 s w 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 ](}t|j�}|j}||j }|j}|j}i } | |t|j�<