Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/mercurial/__pycache__/ |
Upload File : |
o �]Lb � @ sz d dl mZmZ d dlZd dlZddlmZ ddlmZ ejZeedd�Z ddgZ d d � ZG dd� de�Z i Zd d� ZdS )� )�absolute_import�print_functionN� ��getattr)�pycompat�profiler_entrys profiles Statsc O sF t � }|jddd� z | |i |�� W |�� n|�� w t|�� �S )� XXX docstringT)�subcalls�builtins)�Profiler�enable�disable�Stats�getstats)�f�args�kwds�p� r �2/usr/lib/python3/dist-packages/mercurial/lsprof.py�profile s r c @ s4 e Zd ZdZdd� Zddd�Zd dd �Zd d� ZdS )r r c C s || _ d S �N)�data)�selfr r r r �__init__ s zStats.__init__� inlinetimec s� t r� t jvr td� ��n| jr t| jd � d�s td� ��| jj� fdd�dd� | jD ]}|jr@|jj� fdd�dd� q/dS ) r s Can't sort by %sr Nc � t | � �S r r ��x��critr r �<lambda>+ � zStats.sort.<locals>.<lambda>T)�key�reversec r r r r r r r r"