관리-도구
편집 파일: pstats.cpython-36.opt-2.pyc
3 \�g � @ sb d dl Z d dlZd dlZd dlZd dlZd dlmZ dgZG dd� d�ZG dd� d�Z dd� Z d d � Zdd� Zd d� Z dd� Zdd� Zdd� Zedk�r^d dlZyd dlZW n ek r� Y nX G dd� dej�Zee j�dkr�e jd ZndZyTee�Zx"e jdd� D ]Zeje� �qW edejd� ej� edejd� W n e k �r\ Y nX dS )� N)� cmp_to_key�Statsc @ s� e Zd Zdd�dd�Zdd� Zdd� Zd d � Zdd� Zd d� ZdAdEdIdMdPdSdVdYd\dadedhdldpd �Z d!d"� Z d#d$� Zd%d&� Zd'd(� Z d)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Zdqd8d9�Zd:d;� Zd<d=� ZdS )rr N)�streamc G sF |pt j| _t|�sd }n|d }|dd � }| j|� | j|� d S )Nr � )�sys�stdoutr �len�init�add)�selfr �args�arg� r �/usr/lib64/python3.6/pstats.py�__init__A s zStats.__init__c C s� d | _ g | _d | _d| _d| _d| _d| _t� | _i | _ i | _ | j|� y| j� W n8 t k r� td| jrx| jd nd | jd� � Y nX d S )Nr zInvalid timing data %sr � )�file���)�all_callees�files�fcn_list�total_tt�total_calls� prim_calls�max_name_len�set� top_level�stats� sort_arg_dict� load_stats�get_top_level_stats� Exception�printr )r r r r r r K s"