403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/__pycache__/profile.cpython-315.pyc
R
>lqj�]c���Qs]PHs]PHs]PHs]PHs]PHs]PHs,QNs\OQ\
]Q5QQ2sQQksQQks
QQ2sQ	s\Q
6Xc
\2P!P!)
z Class for profiling Python code.�Profilez�The profile module is deprecated and will be removed in Python 3.17. Use profiling.tracing (or cProfile) for tracing profilers instead.)�
stacklevelc�>`�\sQs]3snQsQsQsQsQsQs	Us
P!)�_Utilsz~Support class for utility functions which are shared by
profile.py and cProfile.py modules.
Not supposed to be used directly.
c��VmP!�N��profiler)�selfrs&&�C:\Python315\\Lib\profile.py�__init__�_Utils.__init__9s�� �
�c��UO2oUOU2UOVBU2P![cK!h9hSOXBS2h9hr)r�run�
SystemExit�_show)r	�	statement�filename�sort�profs&&&& r
r�
_Utils.run<sS���}�}���	-��H�H�Y��
�J�J�t�t�,���	��	��
�J�J�t�t�,�s'�8�	A�A�A	�A�A	�	Ac���UO2oUOVU2UOVdU2P![cK!h9hSOXdS2h9hr)r�runctxrr)r	r�globals�localsrrrs&&&&&& r
r�
_Utils.runctxEsU���}�}���	-��K�K�	�F�3�
�J�J�t�t�,���	��	��
�J�J�t�t�,�s'�9�	A�A�A
�A�A
�
Ac�X�UdUOU2P!UOU2P!r)�
dump_stats�print_stats)r	rrrs&&&&r
r�_Utils._showNs"�����O�O�H�%����T�"r
r)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrrr�__static_attributes__�__classdictcell__��
__classdict__s@r
rr3s#�����
!�-�-�#�#r
rc�B�[[2OVU2!)a�Run statement under profiler optionally saving results in filename

This function takes a single argument that can be passed to the
"exec" statement, and an optional file name.  In all cases this
routine attempts to "exec" its first argument and gather profiling
statistics from the execution. If no file name is present, then this
function automatically prints a simple profiling report, sorted by the
standard name string (file/line/function-name) that is presented in
each line.
)rrr)rrrs&&&r
rrZs���'�?���y�D�9�9r
c�D�[[2OVV#U2!)z�Run statement under profiler, supplying your own globals and locals,
optionally saving results in filename.

statement and filename have the same semantics as profile.run
)rrr)rrrrrs&&&&&r
rrgs���'�?�!�!�)�f��M�Mr
c�`�\sQs]psnQs]sQ"QksQsQsQs	Qs
QsQsQ	s
Q
sQ\Q\Q
\Q\
Q\Q\-sQsQQ2sQQ2sQsQsQ#QksQsQsQsQsQsQsQ$QksQ sQ!sUsP!)%ra�Profiler class.

self.cur is always a tuple.  Each such tuple corresponds to a stack
frame that is currently active (self.cur[-2]).  The following are the
definitions of its members.  We use this external "parallel stack" to
avoid contaminating the program that we are profiling. (old profiler
used to write into the frames local dictionary!!) Derived classes
can change the definition of some entries, as long as they leave
[-2:] intact (frame and previous tuple).  In case an internal error is
detected, the -3 element is used as the function name.

[ 0] = Time that needs to be charged to the parent frame's function.
       It is used so that a function call will not have to access the
       timing data for the parent frame.
[ 1] = Total time spent in this frame's function, excluding time in
       subfunctions (this latter is tallied in cur[2]).
[ 2] = Total time spent in subfunctions, excluding time executing the
       frame's function (this latter is tallied in cur[1]).
[-3] = Name of the function that corresponds to this frame.
[-2] = Actual frame that we correspond to (used to sync exception handling).
[-1] = Our parent 6-tuple (corresponds to frame.f_back).

Timing data for each function is stored as a 5-tuple in the dictionary
self.timings[].  The index is always the name stored in self.cur[-3].
The following are the definitions of the members:

[0] = The number of times this function was called, not counting direct
      or indirect recursion,
[1] = Number of times this function appears on the stack, minus one
[2] = Total time spent internal to this function
[3] = Cumulative time that this function was present on the stack.  In
      non-recursive functions, this is the total execution time from start
      to finish of each invocation of a function, including time spent in
      all subfunctions.
[4] = A dictionary indicating for each function name, the number of times
      it was called by us.
c�.�-UmPUmPUmPUmUe
UOoV mU%f/[
O9UmUmUOUm
L]VmUO2o[U2oU]6XcUOUm
LUOUm
U[1QkoVPmUO2UmUO#Q2P![cXmSOSm
KLh9h)Nc��UU22!r�)�timer�sums&&r
�get_time_timer�(Profile.__init__.<locals>.get_time_timer�s���u�w�<�'r
r)�timings�cur�cmd�c_func_name�bias�time�process_timer/�get_time�trace_dispatch_i�
dispatcher�len�trace_dispatch�trace_dispatch_lr0�	TypeError�t�
simulate_call)r	r/r7rA�lengthr1s&&&   r
r�Profile.__init__�s����������������<��9�9�D��	��)-�):�):�:�D�J���"�3�3�D�O��J��
�
��A�
/��Q���
�Q�;�&*�&9�&9�D�O�&*�&;�&;�D�O�*/�C�(� .�
����������:�&��#�
8� %�
�"&�"7�"7���
8�s�C/�/	D�9D�Dc��UOoU2oU]*U]**UO*
UO*
oUQ6XcUOUmUO
U*VU2%c&U2oU]*U]**UmP!U2oU]*U]**U*
UmP!)��c_call�r/rAr7r r6�dispatch)r	�frame�event�argr/rA�rs&&&&   r
r>�Profile.trace_dispatch�s����
�
���G��
�a�D�1�Q�4�K�$�&�&� �4�9�9�,���H��"�|�|�D���=�=����A�.�.���A��q�T�A�a�D�[�D�F���A��q�T�A�a�D�[�1�_�D�Fr
c�$�UOoU2UO*
UO*
oUQ6XcUOUmUO
U*VU2%cU2UmP!U2U*
UmP!�rGrH�r	rJrKrLr/rAs&&&&  r
r;�Profile.trace_dispatch_i�sd���
�
���G�d�f�f��t�y�y�(���H��"�|�|�D���=�=����Q�/�/��W�D�F��W�q�[�D�Fr
c�N�UOoU2Q*UO*
UO*
oUQ6XcUOUmUO
U*VU2%cU2Q*UmP!U2Q*U*
UmP!)gN@rGrHrQs&&&&  r
�trace_dispatch_mac�Profile.trace_dispatch_mac�sq���
�
���G�D�L�4�6�6�!�D�I�I�-���H��"�|�|�D���=�=����Q�/�/��W�T�\�D�F��W�T�\�A�%�D�Fr
c�$�UOoU2UO*
UO*
oUQ6XcUOUmUO
U*VU2%cU2UmP!U2U*
UmP!rP)r:rAr7r r6rI)r	rJrKrLr:rAs&&&&  r
r?�Profile.trace_dispatch_l�sd���=�=���J�����$�)�)�+���H��"�|�|�D���=�=����Q�/�/��Z�D�F��Z�!�^�D�Fr
c��UOvq4qVqxVqIcU%cUOVr2!V4U*VVVx1Um]!��)r4�trace_dispatch_return)	r	rJrA�rpt�rit�ret�rfn�rframe�rcurs	&&&      r
�trace_dispatch_exception� Profile.trace_dispatch_exceptions@��+/�8�8�(��#�F���T��-�-�f�8�8��A��s��5���r
c���UO%c�UOUOQ*Ic�UOvq4qVqx[U[O2%f�UOUOIf PQUVwOVO12gUOU]2UOd<UOUOQ*IfPQUOQ*12gUOo	U	OU	OU	O1o
U]]V�UO1UmUOoV�7cV�*vq�q�oV�]*V�U1V�$]!]]]]-1V�$]!)�zBad call������)r4�f_back�
isinstancer�
fake_framer[�f_code�co_filename�co_firstlineno�co_namer3)r	rJrAr\r]r^r_r`ra�fcode�fnr3�cc�ns�tt�ct�callerss&&&              r
�trace_dispatch_call�Profile.trace_dispatch_call
sS���8�8�8����D�H�H�R�L�8�/3�x�x�,�C�c���f�g�&8�&8�9�9��}�}����4�L�z�3�7=�}�}�7<�l�l�7L�L�4��*�*�6�1�5����(���������4�F�8B�8<�����8F�F�5���������!5�!5�u�}�}�
E���q�!�R����1����,�,��
�=�&-�k�#�B�B�G��1�f�b�g�5�G�K���Q��1�b�.�G�K�r
c��P]UO1oU]]V1UO1UmUOoV47cVC*vqVqxo	VV]*VxU	1VC$]!]]]]-1VC$]!)�)r6r4r3)
r	rJrArpr3rqrrrsrtrus
&&&       r
�trace_dispatch_c_call�Profile.trace_dispatch_c_call ss���!�T�%�%�
&���q�!�R����1����,�,��
�=�&-�k�#�B�B�G���d�B�G�3�G�K���Q��1�b�.�G�K�r
c�@�VOQ*Ic^VOQ*OIfPQUOQ*12gUOUOQ*]2UOvq4qVqVB*oVE*oUvq�q�q�V�U*V�*V�U1UmUOoV�*voooooU%fUU*oU]*oUU7cUU*]*UU$L]UU$UU]*
UU*UU1V�$]!)rez
Bad returnrfrg)r4rhr[r3)r	rJrAr\r]r^r_ra�frame_total�ppt�pit�pet�pfn�pframe�pcurr3rqrrrsrtrus&&&                  r
r[�Profile.trace_dispatch_return+s�������$��H�H�R�L�/�/�/�M�,������1M�M�/��&�&�t�x�x��|�Q�7�
+/�(�(�'��#�E��g���i��+/�(��#�F��c�	�3�#4�c�4�G����,�,��")�,���B��B���
�k�!�B��a��B��'�>�"�3�<�!�+�G�C�L�
�G�C�L��2��6�2��8�R��8���r
�call�	exception�returnrG�c_exception�c_returnc�l�UOP*%cP!VmUOU2P!rY)r4r5rB)r	r5s&&r
�set_cmd�Profile.set_cmdas$���8�8�B�<�<�������3�r
c�.`�\sQsQsnQsQsQsUsP!)�Profile.fake_code�fc�:�VmV mV0m]UmP!�rF)rl�co_linernrm)r	r�line�names&&&&r
r�Profile.fake_code.__init__gs��'���L��L�"#�D�r
c�\�[UOUOUO12!r)�reprrlr�rn�r	s&r
�__repr__�Profile.fake_code.__repr__ms"����)�)�4�<�<����F�G�Gr
)rlrmr�rn)r r!r"r#rr�r%r&r's@r
�	fake_coder�fs����	$�	H�	Hr
r�c�(`�\sQsQsnQsQsUsP!)�Profile.fake_frame�pc� �VmV mP!r)rkrh)r	�code�priors&&&r
r�Profile.fake_frame.__init__qs���K��Kr
)rhrk)r r!r"r#rr%r&r's@r
rjr�ps����	 �	 r
rjc���UOQ]U2oUO%cUOQ*oLPoUOV#2oUOQ*V]2P!)�profiler�rf)r�r4rjrI)r	r�r�r�rJs&&   r
rB�Profile.simulate_callusP���~�~�i��D�1���8�8�8��X�X�b�\�F��F�����-���
�
�f��d�1�-r
c��UOoU2UO*
oUOP*%c0UOQ*VOQ*U2]oJHU2U*
UmP!)rZr�rf)r:rAr4rI)r	r:rAs&  r
�simulate_cmd_complete�Profile.simulate_cmd_complete�sW���=�=���J�������h�h�r�l�l�
�M�M�(�#�D�(�(�2�,��:��A���a���r
c��]PHo[U[2%fU1oUOU2O	2O
UO
2P!r�)�pstatsri�tuple�Stats�
strip_dirs�
sort_statsr)r	rr�s&& r
r�Profile.print_stats�sB����$��&�&��7�D����T��%�%�'�2�2�D�9�E�E�Gr
c���[UQ29^tt^2oUO2[OUOU2PPP2P!)%fhP!9h)�wb)�open�create_stats�marshal�dump�stats)r	�file�fs&& r
r�Profile.dump_stats�s>��
�$��
�
�������L�L����Q�'��
�
�
�s�2A�A#	�A#	c�H�UO2UO2P!r)r��snapshot_statsr�s&r
r��Profile.create_stats�s���"�"�$����r
c���-UmUOO2FDNvovq#qEoUO2o]oUO	2FDoVx*
oJ
	V'VEU1UOU$JP	P!r�)r�r3�items�copy�values)	r	�funcrqrrrsrtru�nc�callcnts	&        r
r��Profile.snapshot_stats�sj����
�/3�|�|�/A�/A�/C�+�D�+�2�2�7��l�l�n�G��B�"�>�>�+���
��,�!�r�w�6�D�J�J�t��0Dr
c�H�]PHoUOoUOVU2!r�)�__main__�__dict__r)r	r5r��dicts&&  r
r�Profile.run�s!���� � ���{�{�3�d�+�+r
c���UOU2[OUO2[	VU2[OP2U![OP2h9hr)r��sys�
setprofiler<�exec)r	r5rrs&&&&r
r�Profile.runctx�sN�����S�����t���'�	!���v�&��N�N�4� ����
�N�N�4� �s�A�A0c���UO[U22[OUO2UU-U@[OP2![OP2h9hr)r�r�r�r�r<)r	r��args�kws""*,r
�runcall�Profile.runcall�sM�����T�$�Z� ����t���'�	!���$��$��N�N�4� ��C�N�N�4� �s�A�A4c��UO[Ic[Q2gUOo]UmUO	V2V0m!X0mh9h)z&Subclasses must override .calibrate().)�	__class__rr@r7�_calibrate_inner)r	�m�verbose�
saved_biass&&& r
�	calibrate�Profile.calibrate�sH���>�>��(��D�E�E��Y�Y�
���	�	#��(�(��4�"�I��
�I�s�A�Ac��UOoQoU1QkoUU2U2oUU2U2oVv*
oU%c
[QU2[2o	U2oU	OQ[	2[22U2oVv*
o
U%c
[QU
2QoQoU	OO2FD*vvq�ovoooooUQ7fJUU*
oUU*
oJ,	U%c[QU2[QU2V�]*6wc[QU*2gV�*
Q	*U*oU%c
[Q
U2U!)c�2�[U2FDo]oJ	P!rY��range)�n�i�xs&  r
�f1�$Profile._calibrate_inner.<locals>.f1�s���1�X����r
c�>�[U2FDoU]d2J
	P!)�dr�)r�r�r�s&& r
r��#Profile._calibrate_inner.<locals>.fs���1�X���3��r
z elapsed time without profiling =zf(m)zelapsed time with profiling =gz!'CPU seconds' profiler reported =ztotal # calls =z internal error: total calls = %dg@z+mean stopwatch overhead per profile event =)r�r�)	r:�printrrrrr3r��
ValueError)r	r�r�r:r�r��t0�t1�elapsed_noprofile�p�elapsed_profile�total_calls�
reported_timerr��funcnamerqrrrsrtru�means&&&                   r
r��Profile._calibrate_inner�sC���=�=��	��	�	
�!���Z��	�!��
�Z���G����4�6G�H�

�I��
�Z��	������F�H�-�
�Z���'����1�?�C����
��	�	���!�
B�&�X�X�(A��R��R���;�&��r�!����#�
�"�
��5�}�E��#�[�1��a�%���?�+�M�N�N��1�S�8�;�F����?��F��r
)
r7r6r5r4r<r:r�rAr/r3)NN)���r�) r r!r"r#r$r7rr>r;rTr?rbrvrzr[rIr�r�rjrBr�rrr�r�rrr�r�r�r%r&r's@r
rrps�����$�L
�D�#'�N
%�$
!�
&�
$�&��,	�#�N	�#��-��'��'��,��)�

�H�  �
H�H� � �
.� �H�(�
�7�,�
�!�b	#�<�<r
c�(�]PHo]QHGoQoUUQ5oP
UmUO	QQQQPQ5UO	Q	Q
QQP
Q
5UO	QQQQPQ5[
OQ*%f'UO2[
O]2UO2vqEU[
OQ$UOd+UOOUO2Um
[U2]6�CcUO%c]PH>oQoQUO QU]*-oL�U]*o	[
OO#]UOO%U	22[&O(U	29^tt^2o
[+U
O-2U	Q2oPPP2[.O0O3QPU	Q5oQUQUO4QUO6QP-o[9WUPUOUO:2U!UO2U!)%fhK�9h[<c7oP[
m[
OSO@2Po=S!Po=hh9h)rF)�OptionParserzMprofile.py [-o output_file_path] [-s sort] [-m module | scriptfile] [arg] ...)�usagez-oz	--outfile�outfilezSave stats to <outfile>)�dest�help�defaultz-m�module�
store_truezProfile a library module.)r��actionr�r�z-sz--sortrz?Sort order when printing to stdout, based on pstats.Stats class:rZNN:NNNz(run_module(modname, run_name='__main__')�
run_module�modnamer�r�)r��loader�origin�__spec__�__file__r �__package__)!�os�optparser��allow_interspersed_args�
add_optionr��argv�print_usage�exit�
parse_argsr��path�abspathr=r��runpyr��insert�dirname�io�	open_code�compile�read�	importlib�	machinery�
ModuleSpecrr�rr�BrokenPipeError�stdout�errno)
rr�r��parser�optionsr�rr��globs�progname�fp�spec�excs
             r
�mainr$3s&��
�%�[�E�
��
&�F�%*�F�"�
���d�K�i�
&���6�
���d��,�
(�%��9�
���d�H�6�
N�����8�8�B�<�<�����������'�'�)�O�W��C�H�H�Q�K����"��'�'�/�/�'�/�/�:���
�4�y�1�}��>�>�>��=�D��e�.�.��4��7��E�
�A�w�H��H�H�O�O�A�r�w�w���x�8�9����h�'�'�2��r�w�w�y�(�F�;��(��&�&�1�1�z�$�9A�2�C�D��D��D�K�K��D�I�I��t�	�E�	 ��4���g�o�o�w�|�|�D��M�	�����M�%(�'���	 ��C�J��H�H�S�Y�Y����M��
	 �s0�!H=�#I�=I
	�I
	�	J�J�+J�Jr�)rrr)Nr�)r$�importlib.machineryrrr�r8r��warnings�__all__�warn�DeprecationWarningrrrrr$r r.r
r
�<module>r*sz��'�$�	�
����
&��	�
�
�I���	�#�#�N:�N���F8�v�z���F�r

Youez - 2016 - github.com/yon3zu
LinuXploit