Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.16.213.208
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : cProfile.cpython-310.pyc
o

^b��@s|dZgd�ZddlZddlZddd�Zddd�Zejje_ejje_Gd	d
�d
ej�Zdd�Z	d
d�Z
edkr<e
�dSdS)zUPython interface for the 'lsprof' profiler.
   Compatible with the 'profile' module.
)�run�runctx�Profile�N���cCst�t��|||�S�N)�
_pyprofile�_Utilsrr)�	statement�filename�sort�r�1/usr/local/python-3.10/lib/python3.10/cProfile.pyrsrcCst�t��|||||�Sr)rrrr)r	�globals�localsr
rrrr
rs�rc@sZeZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�ZdS)ra`Profile(timer=None, timeunit=None, subcalls=True, builtins=True)

    Builds a profiler object using the specified timer function.
    The default timer is a fast built-in one based on real time.
    For custom timer functions returning integers, timeunit can
    be a float specifying a scale (i.e. how long each integer unit
    is, in seconds).
    rcCs$ddl}|�|����|���dS�Nr)�pstats�StatsZ
strip_dirsZ
sort_stats�print_stats)�selfrrrrr
r(szProfile.print_statscCsNddl}t|d��}|��|�|j|�Wd�dS1s wYdS)Nr�wb)�marshal�open�create_stats�dump�stats)r�filer�frrr
�
dump_stats,s
"�zProfile.dump_statscCs|��|��dSr)�disable�snapshot_stats�rrrr
r2szProfile.create_statsc
Cs$|��}i|_i}|D](}t|j�}|j}||j}|j}|j}i}	|	|t|j�<|||||	f|j|<q|D]Y}|j	r�t|j�}|j	D]K}
z	|t|
j�}	Wn	t
yWYqCw|
j}||
j}|
j}|
j}||	vr�|	|}||d7}||d7}||d7}||d7}||||f|	|<qCq6dS)Nr���)Zgetstatsr�label�codeZ	callcountZreccallcountZ
inlinetimeZ	totaltime�idZcalls�KeyError)r�entriesZcallersdicts�entry�funcZncZcc�tt�ctZcallersZsubentry�prevrrr
r6sD



�
��zProfile.snapshot_statscCsddl}|j}|�|||�Sr)�__main__�__dict__r)r�cmdr.�dictrrr
r\szProfile.runcCs.|��z
t|||�W|��|S|��wr)�enable�execr)rr0rrrrr
ras
�zProfile.runctxcOs,|��z||i|��W|��S|��wr)r2r)rr*�args�kwrrr
�runcalljszProfile.runcallcCs|��|Sr)r2r rrr
�	__enter__qszProfile.__enter__cGs|��dSr)r)r�exc_inforrr
�__exit__uszProfile.__exit__N)r)
�__name__�
__module__�__qualname__�__doc__rrrrrrr6r7r9rrrr
rs
&	rcCs$t|t�r
dd|fS|j|j|jfS)N�~r)�
isinstance�str�co_filename�co_firstlineno�co_name)r%rrr
r$zs

r$c
Cs�ddl}ddl}ddl}ddl}ddlm}d}||d�}d|_|jdddd	dd
�|jddd
ddt|j	j
�d�|jdddddd�|jdd�sS|��|�
d�|��\}}||jdd�<|jdurm|j�|j�|_t|�dkr�|jr�d}	|j|dd�}
n3|d}|j�d|j�|��t|d��}t|��|d�}	Wd�n1s�wY|dddd�}
z
t|	|
d|j|j�W|Sty�}
zd|_|�
|
j�WYd}
~
|Sd}
~
ww|��|S)Nr)�OptionParserzNcProfile.py [-o output_file_path] [-s sort] [-m module | scriptfile] [arg] ...)�usageFz-oz	--outfile�outfilezSave stats to <outfile>)�dest�help�defaultz-sz--sortrz?Sort order when printing to stdout, based on pstats.Stats classr)rGrHrI�choicesz-m�module�
store_truezProfile a library module)rG�actionrHrIr!r"z(run_module(modname, run_name='__main__'))�
run_module�modname�rbr3r.)�__file__r:�__package__�
__cached__)�os�sys�runpyrZoptparserDZallow_interspersed_argsZ
add_option�sortedrZsort_arg_dict_default�argv�print_usage�exit�
parse_argsrF�path�abspath�lenrKrN�insert�dirnamer�compile�readrr�BrokenPipeError�stdout�errno)rTrUrVrrDrE�parser�optionsr4r%ZglobsZprogname�fp�excrrr
�main�sj

�

�
�

������rjr.)Nr)r=�__all__Z_lsprofZprofilerrrZProfilerrr$rjr:rrrr
�<module>s



_;
�
© 2025 GrazzMean