Your IP : 3.139.104.140
3
\
V � @ s� d Z ddlZddlZddlZddlZddlmZ dddgZG dd� d�Zdd
d�Z ddd�Z
G dd� d�Zd
d� Ze
dkr�e� dS )z Class for profiling Python code.� N)�OptionParser�run�runctx�Profilec @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )�_Utilsz�Support class for utility functions which are shared by
profile.py and cProfile.py modules.
Not supposed to be used directly.
c C s
|| _ d S )N)�profiler)�selfr � r �/usr/lib64/python3.6/profile.py�__init__1 s z_Utils.__init__c C sF | j � }z(y|j|� W n tk
r, Y nX W d | j|||� X d S )N)r r �
SystemExit�_show)r � statement�filename�sort�profr r r
r 4 s
z
_Utils.runc C sJ | j � }z,y|j|||� W n tk
r0 Y nX W d | j|||� X d S )N)r r r r
)r r �globals�localsr r r r r r
r = s
z
_Utils.runctxc C s"