HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/thread-self/root/lib64/python2.7/site-packages/mercurial/lsprof.pyc
�
1�3\c@@sFddlmZmZddlZddlZejZeedd�ZddgZ	d�Z
defd��YZiZ
d�Zed	krBddlZejd
e_ejs�eddej�ejd
�nejjdejjejjejd���e
eejde�e��Zej�ej�ndS(i(tabsolute_importtprint_functionNtprofiler_entrytprofiletStatscO@sNt�}|jdtdt�z|||�Wd|j�Xt|j��S(s
XXX docstringtsubcallstbuiltinsN(tProfilertenabletTruetdisableRtgetstats(tftargstkwdstp((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyR
s	cB@sAeZdZd�Zdd�Zddddd�Zd�ZRS(s
XXX docstringcC@s
||_dS(N(tdata(tselfR((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyt__init__st
inlinetimec@s�tr+�tjkratd���qan6|jrat|jd�d�ratd���n|jjd�fd�dt�x?|jD]4}|jr�|jjd�fd�dt�q�q�WdS(s
XXX docstringsCan't sort by %sitkeyc@s
t|��S(N(tgetattr(tx(tcrit(s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyt<lambda>'ttreversec@s
t|��S(N(R(R(R(s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyR*RN(	Rt__dict__t
ValueErrorRRtNonetsortR	tcalls(RRte((Rs6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyRs#"	cC@s~|d
krtj}n|j}|d
k	r:|| }nd}d}|j|d�d}x|D]}	|j||	j|	j|	j|	jt	|	j
�f�|d	7}|d
k	r�||kr�d
Sd}
|rd|	jrdx�|	jD]�}|j||j|j|j|jdt	|j
�f�|d	7}|
d	7}
|d
k	rS||krSd
S|d
k	r�|
|kr�Pq�q�WqdqdWd
S(
s
XXX docstrings% 12d %12d %11.4f %11.4f   %s
s% 12s %12s %12s %12s %s
t	CallCountt	RecursivesTotal(s)s	Inline(s)smodule:lineno(function)iiNs    %s(R!R"sTotal(s)s	Inline(s)smodule:lineno(function)(RtsyststdoutRtwritet	callcounttreccallcountt	totaltimeRtlabeltcodeR(RttoptfiletlimittclimittdtcolsthcolstcountR tccounttse((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pytpprint,s8	
	



cC@s�x�tt|j��D]�}|j|}t|jt�skt|�t|j�f|d�|j|<n|jrxott|j��D]U}|j|}t|jt�s�t|�t|j�f|d�|j|<q�q�WqqWdS(swReplace all references to code objects with string
        descriptions; this makes it possible to pickle the instance.iN(	trangetlenRt
isinstanceR*tstrttypeR)R(RtiR tjR4((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pytfreezeKs
0	
N(t__name__t
__module__t__doc__RRRR5R=(((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyRs
	cC@s8t|t�r7tjjdkr3|jd�}n|Syt|j}Wn�tk
r�x�t	tj
j��D]i\}}|dkr�qnntt
|dd�t�s�qnn|jj|j�rn|}t|j<PqnqnWd|j}t|j<nXd||j|jf}tjjdkr4|jd�}n|S(Nislatin-1t__file__s<%s>s	%s:%d(%s)(R8R9R#tversion_infotmajortencodet_fn2modtco_filenametKeyErrortlisttmodulest	iteritemsRRRAt
startswithtco_firstlinenotco_name(R*tmnametktvtres((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyR)\s(
"t__main__is(usage: lsprof.py <script> <arguments...>R,i(t
__future__RRt_lsprofR#RRRRt__all__RtobjectRRER)R>tostargvtprinttstderrtexittpathtinserttabspathtdirnametexecfiletglobalstlocalststatsRR5(((s6/usr/lib64/python2.7/site-packages/mercurial/lsprof.pyt<module>s&		B		2"