HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, 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
Upload Files
File: //usr/lib/python2.7/dist-packages/mercurial/profiling.pyc
σ
ΫXc@@sΚddlmZmZddlZddlZddlZddlZddlmZddl	m
Z
mZejd„ƒZ
ejd„ƒZejd„ƒZejd	„ƒZejd
„ƒZdS(i(tabsolute_importtprint_functionNi(t_(terrortutilc
c@sy|jddddƒ}|jddddƒ}|jddddƒ}|jdd	dd
ƒ}|dkrŒ|jtdƒ|ƒd}nyd
dlm}Wn&tk
rΘtjtdƒƒ‚nX|j	ƒ}|j
dtƒz	dVWd|jƒ|dkr6d
dlm
}|j|ƒ}	|	j|ƒn>|j|jƒƒ}
|
j|ƒ|
jd|d|d|ƒXdS(Nt	profilingtformattdefaultttexttsortt
inlinetimetlimititnesteditkcachegrinds-unrecognized profiling format '%s' - Ignored
i(tlsprofsYlsprof not available - install from http://codespeak.net/svn/user/arigo/hack/misc/lsprof/tsubcalls(tlsprofcalltreetfiletclimit(RR
(tconfigt	configinttwarnRtRtImportErrorRtAborttProfilertenabletTruetdisableRtKCacheGrindtoutputtStatstgetstatsR	tpprint(tuitfpRtfieldRRRtpRtcalltreetstats((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pyt	lsprofiles2	
		

c
c@sλyddlm}Wn&tk
r<tjtdƒƒ‚nX|jddddƒ}d}t}|j|d|||ƒ}t	j
ƒ}z|jƒdVWd|jƒ|j
ƒtd	t	j
ƒ||jƒ|jd
tƒfƒXdS(Ni(t
flamegraphsWflamegraph not available - install from https://github.com/evanhempel/python-flamegraphRtfreqRiθgπ?s7Collected %d stack frames (%d unique) in %2.2f seconds.tunique(R)RRRRRtNoneRt
ProfileThreadttimetclocktstarttstoptjointprintt
num_frames(R"R#R)R*tfilter_tcollapse_recursiontthreadt
start_time((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pytflameprofile8s&
	
	

cc@sΛyddl}Wn&tk
r8tjtdƒƒ‚nX|jddddƒ}|dkr‚|jjdkr™|j|ƒq™n|j	tdƒ|ƒ|j
ƒz	dVWd|jƒ|j|ƒXdS(Nis>statprof not available - install using "easy_install statprof"RR*Riθs+invalid sampling frequency '%s' - ignoring
(
tstatprofRRRRRtstatet
profile_leveltresetRR0R1tdisplay(R"R#R:R*((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pytstatprofileQs
	
	
cc@sjtjdƒ}|dkr6|jddddƒ}n|dkrb|jtdƒ|ƒd}n|jdd	ƒ}|d
krtjƒ}n0|rΆ|j|ƒ}t	|dƒ}n	t
j}zO|dkrΧt}n|dkrμt
}nt}|||ƒ
dVWdQXWd|re|d
krXd
|jƒ}|jddƒ}|jd|ƒn|jƒnXdS(s²Start profiling.

    Profiling is active when the context manager is active. When the context
    manager exits, profiling results will be written to the configured output.
    tHGPROFRttypeRtlststattflames%unrecognized profiler '%s' - ignored
RtblackboxtwbNsProfile:
%st%s%%tprofile(RBRCRD(tostgetenvR,RRRRtstringiot
expandpathtopentsyststderrR(R9R?tgetvaluetreplacetlogtclose(R"tprofilerRR#tpathtproffntval((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pyRHhs6				cc@s6|jddƒr-t|ƒ
dVWdQXndVdS(ssProfile if enabled, else do nothing.

    This context manager can be used to optionally profile if profiling
    is enabled. Otherwise, it does nothing.

    The purpose of this context manager is to make calling code simpler:
    just use a single code path for calling into code you may want to profile
    and this function determines whether to start profiling.
    RtenabledN(t
configboolRH(R"((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pytmaybeprofile•s
(t
__future__RRt
contextlibRIRNR.ti18nRRRRtcontextmanagerR(R9R?RHRZ(((s7/usr/lib/python2.7/dist-packages/mercurial/profiling.pyt<module>s#-