|
Server : Apache System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64 User : www ( 1000) PHP Version : 8.1.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /lib64/python3.6/__pycache__/ |
3
\ � @ sz d Z dddgZddlZddlZddd�Zddd�Zejj e_ ejj e_ G d d� dej�Zd
d� Z dd
� Z
edkrve
� dS )zUPython interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
�run�runctx�Profile� N� c C s t jt�j| ||�S )N)�
_pyprofile�_Utilsr r )� statement�filename�sort� r � /usr/lib64/python3.6/cProfile.pyr s c C s t jt�j| ||||�S )N)r r r r )r �globals�localsr r
r r r r s c @ sJ e Zd ZdZddd�Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dS )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 }|j| �j� j|�j� d S )Nr )�pstats�StatsZ
strip_dirsZ
sort_stats�print_stats)�selfr
r r r r r ( s zProfile.print_statsc
C s8 dd l }t|d��}| j� |j| j|� W d Q R X d S )Nr �wb)�marshal�open�create_stats�dump�stats)r �filer �fr r r �
dump_stats, s zProfile.dump_statsc C s | j � | j� d S )N)�disable�snapshot_stats)r r r r r 2 s zProfile.create_statsc C s6 | j � }i | _i }xX|D ]P}t|j�}|j}||j }|j}|j}i } | |t|j�<