a
´iaY ã @ sv d Z ddlZddlZddlZddlZg d¢ZG dd„ dƒZddd„Zdd d
„ZG dd„ dƒZ d
d„ Z
edkrre
ƒ dS )z Class for profiling Python code.é N)Ú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.9/profile.pyÚ__init__0 s z_Utils.__init__c C sR | ¡ }z4z| |¡ W n ty* Y n0 W | |||¡ n| |||¡ 0 d S r )r r Ú
SystemExitÚ_show)r Ú statementÚfilenameÚsortÚprofr r r
r 3 s z
_Utils.runc C sV | ¡ }z8z| |||¡ W n ty. Y n0 W | |||¡ n| |||¡ 0 d S r )r r r r
)r r ÚglobalsÚlocalsr r r r r r
r <