Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/__pycache__/ |
� �,d� � �� � d Z g d�ZddlZddlZdd�Zdd�Zej j e_ ej j e_ G d� dej � � Zd � Z d � Z edk r e � � dS dS ) zUPython interface for the 'lsprof' profiler. Compatible with the 'profile' module. )�run�runctx�Profile� N���c �^ � t j t � � � | ||� � S �N)� _pyprofile�_Utilsr r )� statement�filename�sorts �//opt/alt/python311/lib64/python3.11/cProfile.pyr r s% � ���W�%�%�)�)�)�X�t�D�D�D� c �b � t j t � � � | ||||� � S r )r r r r )r �globals�localsr r s r r r s0 � ���W�%�%�,�,�Y���-5�t�=� =� =r c �J � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z d � Z d � Zd� ZdS )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 � � dd l }|� | � � � � � � |� � � � � d S �Nr )�pstats�Stats� strip_dirs� sort_stats�print_stats)�selfr r s r r zProfile.print_stats( sI � �� � � ����T���%�%�'�'�2�2�4�8�8�D�D�F�F�F�F�Fr c � � dd l }t |d� � 5 }| � � � |� | j |� � d d d � � d S # 1 swxY w Y d S )Nr �wb)�marshal�open�create_stats�dump�stats)r �filer �fs r � dump_statszProfile.dump_stats, s� � ����� �$�� � � (���������L�L���Q�'�'�'� (� (� (� (� (� (� (� (� (� (� (� (���� (� (� (� (� (� (s �0A�A�Ac �V � | � � � | � � � d S r )�disable�snapshot_stats�r s r r zProfile.create_stats2 s'