PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
utils
/
__pycache__
� W�i � �4 � d dl Z d dlmZ G d� d� � ZdS )� N)� TracebackTypec �h � e Zd Zd d�Zdee dz dedz dedz ddfd�Zede fd�� � Z dS ) � Benchmark�returnNc �6 � t j � � | _ | S �N)�time�monotonic_ns� start_time��selfs �T/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/utils/benchmark.py� __enter__zBenchmark.__enter__ s � ��+�-�-����� �exc_type�exc_val�exc_tbc �^ � t j � � | _ | j | j z | _ d S r )r r �end_timer �elapsed_time_ns)r r r r s r �__exit__zBenchmark.__exit__ s+ � � �)�+�+�� �#�}�t��>����r c � � | j dz S )Ng���ư>)r r s r �elapsed_time_mszBenchmark.elapsed_time_ms s � ��#�d�*�*r )r N)�__name__� __module__�__qualname__r �type� BaseExceptionr r �property�floatr � r r r r s� � � � � � �� � � �?��}�%��,�?� ��%�?� ��$� ?� �?� ?� ?� ?� �+�� +� +� +� �X�+� +� +r r )r �typesr r r! r r �<module>r# sR �� ���� � � � � � �+� +� +� +� +� +� +� +� +� +r
[+]
..
[-] check_db.cpython-311.pyc
[edit]
[-] buffer.cpython-311.opt-1.pyc
[edit]
[-] __init__.cpython-311.pyc
[edit]
[-] fd_ops.cpython-311.pyc
[edit]
[-] common.cpython-311.opt-1.pyc
[edit]
[-] whmcs.cpython-311.pyc
[edit]
[-] async_utils.cpython-311.pyc
[edit]
[-] hyperscan.cpython-311.pyc
[edit]
[-] hyperscan.cpython-311.opt-1.pyc
[edit]
[-] config.cpython-311.pyc
[edit]
[-] check_db.cpython-311.opt-1.pyc
[edit]
[-] threads.cpython-311.pyc
[edit]
[-] safe_sequence.cpython-311.opt-1.pyc
[edit]
[-] completions.cpython-311.pyc
[edit]
[-] whmcs.cpython-311.opt-1.pyc
[edit]
[-] common.cpython-311.pyc
[edit]
[-] subprocess.cpython-311.pyc
[edit]
[-] resource_limits.cpython-311.opt-1.pyc
[edit]
[-] net_transport.cpython-311.pyc
[edit]
[-] doctor.cpython-311.pyc
[edit]
[-] json.cpython-311.pyc
[edit]
[-] serialization.cpython-311.pyc
[edit]
[-] sshutil.cpython-311.pyc
[edit]
[-] _shutil.cpython-311.opt-1.pyc
[edit]
[-] config.cpython-311.opt-1.pyc
[edit]
[-] completions.cpython-311.opt-1.pyc
[edit]
[-] net_transport.cpython-311.opt-1.pyc
[edit]
[-] sshutil.cpython-311.opt-1.pyc
[edit]
[-] ipecho.cpython-311.opt-1.pyc
[edit]
[-] parsers.cpython-311.opt-1.pyc
[edit]
[-] threads.cpython-311.opt-1.pyc
[edit]
[-] serialization.cpython-311.opt-1.pyc
[edit]
[-] safe_fileops.cpython-311.opt-1.pyc
[edit]
[-] importer.cpython-311.opt-1.pyc
[edit]
[-] parsers.cpython-311.pyc
[edit]
[-] json.cpython-311.opt-1.pyc
[edit]
[-] safe_sequence.cpython-311.pyc
[edit]
[-] fd_ops.cpython-311.opt-1.pyc
[edit]
[-] __init__.cpython-311.opt-1.pyc
[edit]
[-] cli.cpython-311.opt-1.pyc
[edit]
[-] benchmark.cpython-311.opt-1.pyc
[edit]
[-] check_lock.cpython-311.opt-1.pyc
[edit]
[-] _shutil.cpython-311.pyc
[edit]
[-] validate.cpython-311.opt-1.pyc
[edit]
[-] check_lock.cpython-311.pyc
[edit]
[-] support.cpython-311.pyc
[edit]
[-] cli.cpython-311.pyc
[edit]
[-] wordpress_mu_plugin.cpython-311.pyc
[edit]
[-] doctor.cpython-311.opt-1.pyc
[edit]
[-] importer.cpython-311.pyc
[edit]
[-] benchmark.cpython-311.pyc
[edit]
[-] support.cpython-311.opt-1.pyc
[edit]
[-] cronjob.cpython-311.opt-1.pyc
[edit]
[-] subprocess.cpython-311.opt-1.pyc
[edit]
[-] buffer.cpython-311.pyc
[edit]
[-] cronjob.cpython-311.pyc
[edit]
[-] kwconfig.cpython-311.opt-1.pyc
[edit]
[-] ipecho.cpython-311.pyc
[edit]
[-] kwconfig.cpython-311.pyc
[edit]
[-] wordpress_mu_plugin.cpython-311.opt-1.pyc
[edit]
[-] antivirus_mode.cpython-311.pyc
[edit]
[-] validate.cpython-311.pyc
[edit]
[-] resource_limits.cpython-311.pyc
[edit]
[-] safe_fileops.cpython-311.pyc
[edit]
[-] antivirus_mode.cpython-311.opt-1.pyc
[edit]
[-] async_utils.cpython-311.opt-1.pyc
[edit]