403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib64/python3.9/site-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/mercurial/__pycache__/lsprofcalltree.cpython-39.opt-1.pyc
a

�+�b�
�@s8dZddlmZddlmZdd�ZGdd�de�Zd	S)
aC
lsprofcalltree.py - lsprof output which is readable by kcachegrind

Authors:
    * David Allouche <david <at> allouche.net>
    * Jp Calderone & Itamar Shtull-Trauring
    * Johan Dahlin

This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein by reference.
�)�absolute_import�)�pycompatcCs<t|t�rdt�|�Sdt�|j�t�|j�|jfSdS)N�~s%s %s:%d)�
isinstance�strr�sysbytes�co_name�co_filename�co_firstlineno)�code�r
�>/usr/lib64/python3.9/site-packages/mercurial/lsprofcalltree.py�labels


�rc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�KCacheGrindcCs|��|_d|_dS)N)Zgetstats�data�out_file)�selfZprofilerr
r
r�__init__s
zKCacheGrind.__init__cCs2||_|�d�|��|jD]}|�|�qdS)Nsevents: Ticks
)r�write�_print_summaryr�_entry)rr�entryr
r
r�output#s


zKCacheGrind.outputcCs<d}|jD]}t|jd�}t||�}q
|j�d|�dS)Nr��ssummary: %d
)r�int�	totaltime�maxrr)rZmax_costrrr
r
rr*s

zKCacheGrind._print_summarycCs�|j}|j}t|t�r"|�d�n|�dt�|j��|�dt|��t	|j
d�}t|t�rr|�d|�n|�d|j|f�|jr�|j}ng}t|t�r�d}n|j}|D]}|�
||�q�|�d�dS)	Nsfi=~
sfi=%s
sfn=%s
rs0 %d
�%d %d
r�
)rrrrrrrr
rr�
inlinetimer�calls�	_subentry)rrrrr r!�lineno�subentryr
r
rr1s&


zKCacheGrind._entrycCs�|j}|j}|�dt|��t|t�rD|�d�|�d|j�n,|�dt�|j	��|�d|j|j
f�t|jd�}|�d||f�dS)Nscfn=%s
scfi=~
scalls=%d 0
scfi=%s
scalls=%d %d
rr)
rrrrrrZ	callcountrrr
rrr)rr#r$rrrr
r
rr"Rs

�zKCacheGrind._subentryN)�__name__�
__module__�__qualname__rrrrr"r
r
r
rrs
!rN)�__doc__Z
__future__r�rr�objectrr
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit