관리-도구
편집 파일: stats.pyo
� {fc @ s� d Z d d l Z d d l Z d d l Z d d l m Z m Z d � Z d d d � � YZ d e j f d � � YZ d d d � � YZ d d d � � YZ d � Z d S( s Statistics analyzer for HotShot.i����N( t ENTERt EXITc C s t | � j � S( N( t StatsLoadert load( t filename( ( s% /usr/lib64/python2.7/hotshot/stats.pyR s R c B s# e Z d � Z d � Z d � Z RS( c C s. | | _ i | _ g | _ | j j | _ d S( N( t _logfnt _codet _stackt popt pop_frame( t selft logfn( ( s% /usr/lib64/python2.7/hotshot/stats.pyt __init__ s c C s� t � } t | _ t j j | j � } d } x� | D]� } | \ } \ } } } } | d k rk | | 7} n | t k r� | j | | | � } | j | | d � d } q4 | t k r4 | j � } | j | | d � d } q4 q4 Wt j | � S( Ni g���ư>( t Profilet _brokentimert get_timet hotshott logt LogReaderR R t new_framet trace_dispatch_callR R t trace_dispatch_returnt pstatst Stats( R t pR t taccumt eventt whatR t linenot funcnamet tdeltat frame( ( s% /usr/lib64/python2.7/hotshot/stats.pyR s"