| Server IP : 185.125.27.153 / Your IP : 216.73.216.193 Web Server : Apache System : Linux d6e05399ed1f11695f7c56648ed78c66 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : uid174255 ( 174255) PHP Version : 8.3.31 Disable Function : exec,passthru,pcntl_exec,popen,proc_open,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/8/root/usr/lib/python3.9/__pycache__/ |
Upload File : |
a
�:j� � @ sx d Z g d�ZddlZddlZddd�Zddd�Zejj e_ ejj e_ G d d
� d
ej�Zdd� Z d
d� Z
edkrte
� dS )zUPython interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
)�run�runctx�Profile� N���c C s t �t��| ||�S �N)�
_pyprofile�_Utilsr r )� statement�filename�sort� r �/usr/lib/python3.9/cProfile.pyr s r c C s t �t��| ||||�S r )r r r r )r �globals�localsr
r r r r
r s �r c @ sZ e Zd ZdZddd�Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dd� Zdd� ZdS )r a` 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).
r c C s$ dd l }|�| ��� �|��� d S �Nr )�pstats�StatsZ
strip_dirsZ
sort_stats�print_stats)�selfr r r r r
r ( s zProfile.print_statsc C sL dd l }t|d��&}| �� |�| j|� W d � n1 s>0 Y d S )Nr �wb)�marshal�open�create_stats�dump�stats)r �filer �fr r r
�
dump_stats, s zProfile.dump_statsc C s | � � | �� d S r )�disable�snapshot_stats�r r r r
r 2 s zProfile.create_statsc
C s* | � � }i | _i }|D ]P}t|j�}|j}||j }|j}|j}i } | |t|j�<