
bc           @   s  d  Z  d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d g Z d f  d     YZ	 d f  d     YZ
 d   Z d	   Z d
   Z d   Z d   Z d   Z d   Z e d k rd d l Z y d d l Z Wn e k
 r n Xd e j f d     YZ d d l Z e e j  d k rFe j d Z n e Z y4 e e  Z e j d IJe j   e j d IJWn e k
 rn Xn  d S(   s3   Class for printing reports on profiled python code.iN(   t
   cmp_to_keyt   Statsc           B   s<  e  Z d  Z d   Z d   Z d   Z d   Z d   Z d   Z i d8 d
 6d; d 6d> d 6dA d 6dD d 6dG d 6dJ d 6dM d 6dP d 6dQ dR dS f d f d 6dV d 6dY d" 6d\ d% 6d_ d& 6Z	 d'   Z
 d(   Z d)   Z d*   Z d+   Z d,   Z d-   Z d.   Z d/   Z d0   Z d1   Z d2 d3  Z d4   Z d5   Z RS(`   s<  This class is used for creating reports from data generated by the
    Profile class.  It is a "friend" of that class, and imports data either
    by direct access to members of Profile class, or by reading in a dictionary
    that was emitted (via marshal) from the Profile class.

    The big change from the previous Profiler (in terms of raw functionality)
    is that an "add()" method has been provided to combine Stats from
    several distinct profile runs.  Both the constructor and the add()
    method now take arbitrarily many file names as arguments.

    All the print methods now take an argument that indicates how many lines
    to print.  If the arg is a floating point number between 0 and 1.0, then
    it is taken as a decimal percentage of the available lines to be printed
    (e.g., .1 means print 10% of all available lines).  If it is an integer,
    it is taken to mean the number of lines of data that you wish to have
    printed.

    The sort_stats() method now processes some additional options (i.e., in
    addition to the old -1, 0, 1, or 2).  It takes an arbitrary number of
    quoted strings to select the sort order.  For example sort_stats('time',
    'name') sorts on the major key of 'internal function time', and on the
    minor key of 'the name of the function'.  Look at the two tables in
    sort_stats() and get_sort_arg_defs(self) for more examples.

    All methods return self, so you can string together commands like:
        Stats('foo', 'goo').strip_dirs().sort_stats('calls').                            print_stats(5).print_callers(5)
    c         O   s   t  j |  _ d | k r/ | d |  _ | d =n  | r | j   } | j   d j g  | D] } d | | | f ^ qX  } t d |  n  t |  s d  } n | d } | d } |  j	 |  |  j
 |   d  S(   Nt   streams   , s   %s=%ss   unrecognized keyword args: %si    i   (   t   syst   stdoutR   t   keyst   sortt   joint
   ValueErrort   lent   Nonet   initt   add(   t   selft   argst   kwdsR   t   kt   extrast   arg(    (    s   /usr/lib/python2.7/pstats.pyt   __init__>   s    

0	

c         C   s   d  |  _ g  |  _ d  |  _ d |  _ d |  _ d |  _ d |  _ i  |  _ i  |  _	 i  |  _
 |  j |  d } z |  j   d } Wd  | r |  j d I|  j r |  j |  j d In  |  j Jn  Xd  S(   Ni    i   s   Invalid timing datai(   R
   t   all_calleest   filest   fcn_listt   total_ttt   total_callst
   prim_callst   max_name_lent	   top_levelt   statst   sort_arg_dictt
   load_statst   get_top_level_statsR   (   R   R   t   trouble(    (    s   /usr/lib/python2.7/pstats.pyR   T   s(    										

	 c         C   s   | s i  |  _  n t | t  r t | d  } t j |  |  _  | j   y- t j |  } t	 j
 | j  d | } Wn n X| g |  _ n1 t | d  r | j   | j  |  _  i  | _  n  |  j  s t d |  j | f   n  d  S(   Nt   rbs       t   create_statss.   Cannot create or construct a %r object from %r(   R   t
   isinstancet
   basestringt   opent   marshalt   loadt   closet   ost   statt   timet   ctimet   st_mtimeR   t   hasattrR"   t	   TypeErrort	   __class__(   R   R   t   ft
   file_stats(    (    s   /usr/lib/python2.7/pstats.pyR   j   s(     

	c         C   s   x |  j  j   D] \ } \ } } } } } |  j | 7_ |  j | 7_ |  j | 7_ d | k rt d  |  j | <n  t t |   |  j	 k r t t |   |  _	 q q Wd  S(   Nt   jprofilei    t   profiler(   R3   i    R4   (
   R   t   itemsR   R   R   R
   R   R	   t   func_std_stringR   (   R   t   funct   cct   nct   ttt   ctt   callers(    (    s   /usr/lib/python2.7/pstats.pyR      s    +c         G   st  | s
 |  St  |  d k r0 |  j | d   n  | d } t |   t |  k sd |  j | j k rs t |  } n  |  j | j 7_ |  j | j 7_ |  j | j 7_ |  j | j 7_ x | j	 D] } d  |  j	 | <q W|  j | j k  r | j |  _ n  d  |  _ xg | j j   D]V \ } } | |  j k rA|  j | } n d d d d i  f } t | |  |  j | <qW|  S(   Ni   i    (   R	   R   t   typeR0   R   R   R   R   R   R   R
   R   R   R   t	   iteritemst   add_func_stats(   R   t   arg_listt   otherR7   R*   t   old_func_stat(    (    s   /usr/lib/python2.7/pstats.pyR      s,      
*	c         C   s8   t  | d  } z t j |  j |  Wd | j   Xd S(   s:   Write the profile data to a file we know how to load back.t   wbN(   t   fileR&   t   dumpR   R(   (   R   t   filenameR1   (    (    s   /usr/lib/python2.7/pstats.pyt
   dump_stats   s    i   is
   call countt   callst   ncallsi   s   cumulative timet   cumtimet
   cumulativei   s	   file nameRD   RF   i   s   line numbert   linet   modulei   s   function namet   names   name/file/linet   nfli    s   primitive call countt   pcallsi   s   standard namet   stdnamei   s   internal timeR+   t   tottimec         C   s   |  j  s i  |  _  } i  } xh |  j j   D]W \ } } | } xB | r | sQ Pn  | | k rk d | | <Pn  | | | <| d  } qA Wq, Wx | D] } | | =q Wn  |  j  S(   s)   Expand all abbreviations that are unique.i    i(   R   t   sort_arg_dict_defaultR>   (   R   t   dictt   bad_listt   wordt   tupt   fragment(    (    s   /usr/lib/python2.7/pstats.pyt   get_sort_arg_defs   s     		

c         G   s  | s d |  _  |  St |  d k rn t | d t t f  rn i d d 6d d 6d d 6d d 6| d g } n  |  j   } d } d	 |  _ d	 } xA | D]9 } | | | d } |  j | | | d 7_ d
 } q Wg  } xY |  j j   D]H \ } \ } }	 }
 } } | j	 | |	 |
 | f | t
 |  | f  q W| j d t t |  j   g  |  _  } x | D] } | j	 | d  qhW|  S(   Ni    i   RQ   iRH   R+   RK   i   t    s   , t   key(    (   R   R	   R#   t   intt   longRY   t	   sort_typeR   R>   t   appendR6   R   R    t	   TupleCompt   compare(   R   t   fieldt   sort_arg_defst
   sort_tuplet	   connectorRV   t
   stats_listR7   R8   R9   R:   R;   R<   R   t   tuple(    (    s   /usr/lib/python2.7/pstats.pyt
   sort_stats   s2    	+
	
+c         C   s   |  j  r |  j  j   n  |  S(   N(   R   t   reverse(   R   (    (    s   /usr/lib/python2.7/pstats.pyt   reverse_order   s    	c         C   sX  |  j  } i  |  _  } d } x | j   D] \ } \ } } } } }	 t |  }
 t t |
   | k r} t t |
   } n  i  } x* |	 j   D] \ } } | | t |  <q W|
 | k r t | |
 | | | | | f  | |
 <q) | | | | | f | |
 <q) W|  j } i  |  _ } x | D] } d  | t |  <qW| |  _ d  |  _	 d  |  _
 |  S(   Ni    (   R   R>   t   func_strip_pathR	   R6   R?   R   R
   R   R   R   (   R   t   oldstatst   newstatsR   R7   R8   R9   R:   R;   R<   t   newfunct
   newcallerst   func2t   callert   old_topt   new_top(    (    s   /usr/lib/python2.7/pstats.pyt
   strip_dirs   s.    	(				c   
      C   s   |  j  r d  Si  |  _  } x |  j j   D]x \ } \ } } } } } | | k r^ i  | | <n  xA | j   D]3 \ } }	 | | k r i  | | <n  |	 | | | <qk Wq* Wd  S(   N(   R   R   R>   (
   R   R   R7   R8   R9   R:   R;   R<   Rp   Rq   (    (    s   /usr/lib/python2.7/pstats.pyt   calc_callees  s    	 +c         C   sw  | } t  | t  r y t j |  } Wn) t j k
 rS | d | 7} | | f SXg  } x | D]+ } | j t |   ra | j |  qa qa Wn t |  } t  | t	  r d | k o d k  n r t
 | | d  } | |  } nD t  | t
 t f  r/d | k o| k  n r/| } | |  } n  t |  t |  k rm| d t |  t |  | f 7} n  | | f S(   Ns#      <Invalid regular expression %r>
g        g      ?g      ?i    s6      List reduced from %r to %r due to restriction <%r>
(   R#   R$   t   ret   compilet   errort   searchR6   R_   R	   t   floatR\   R]   (   R   t   selt   listt   msgt   new_listt   rexR7   t   count(    (    s   /usr/lib/python2.7/pstats.pyt   eval_print_amount%  s,    +1 c         C   s  |  j  } |  j r0 |  j } d |  j d } n |  j j   } d } x) | D]! } |  j | | |  \ } } qL Wt |  } | s d | f S|  j | IJ| t |  j  k  r d } x> | D]3 } t t |   | k r t t |   } q q Wn  | d | f S(   Ns      Ordered by: s   
s!      Random listing order was used
i    i   (	   R   R   R^   R   R   R   R	   R   R6   (   R   t   sel_listt   widtht	   stat_listR}   t	   selectionR   R7   (    (    s   /usr/lib/python2.7/pstats.pyt   get_print_list?  s$    		

c         G   s  x |  j  D] } |  j | IJq
 W|  j  r4 |  j Jn  d } x* |  j D] } |  j | It |  IJqD W|  j | I|  j Id I|  j |  j k r |  j d |  j In  |  j d |  j IJ|  j J|  j |  \ } } | r|  j   x | D] } |  j	 |  q W|  j J|  j Jn  |  S(   Nt    i   s   function callss   (%d primitive calls)s   in %.3f secondss           (
   R   R   R   t   func_get_function_nameR   R   R   R   t   print_titlet
   print_line(   R   t   amountRF   t   indentR7   R   R|   (    (    s   /usr/lib/python2.7/pstats.pyt   print_statsW  s(    	 


c         G   s   |  j  |  \ } } | r |  j   |  j | d  xM | D]E } | |  j k rn |  j | | |  j |  q< |  j | | i   q< W|  j J|  j Jn  |  S(   Ns	   called...(   R   Ru   t   print_call_headingR   t   print_call_lineR   (   R   R   R   R|   R7   (    (    s   /usr/lib/python2.7/pstats.pyt   print_calleesm  s    

c   
      G   s   |  j  |  \ } } | r |  j | d  x@ | D]8 } |  j | \ } } } } }	 |  j | | |	 d  q2 W|  j J|  j Jn  |  S(   Ns   was called by...s   <-(   R   R   R   R   R   (
   R   R   R   R|   R7   R8   R9   R:   R;   R<   (    (    s   /usr/lib/python2.7/pstats.pyt   print_callers|  s    
c   
      C   s   |  j  d j |  | IJt } xQ |  j j   D]@ \ } } } } } | r0 | j   j   }	 t |	 t  } Pq0 q0 W| r |  j  d | d IJn  d  S(   Ns	   Function R   s       ncalls  tottime  cumtime(   R   t   ljustt   FalseR   t
   itervaluest   nextR#   Rg   (
   R   t	   name_sizet   column_titlet	   subheaderR8   R9   R:   R;   R<   t   value(    (    s   /usr/lib/python2.7/pstats.pyR     s    %s   ->c         C   sT  |  j  t |  j |  | I| s1 |  j  Jd  S| j   } | j   d } x | D] } t |  } | | }	 t |	 t  r|	 \ }
 } } } |
 | k r d |
 | f } n d |
 f } d | j d d t |   t	 |  t	 |  | f } | d } n. d | |	 t	 |  j
 | d	  f } | d	 } |  j  | | | IJd
 } qT Wd  S(   NRZ   s   %d/%ds   %ds   %s %s %s  %si   i   i   s	   %s(%r) %si   R   (   R   R6   R   R   R   R#   Rg   t   rjustR	   t   f8R   (   R   R   t   sourcet	   call_dictt   arrowt   clistR   R7   RN   R   R9   R8   R:   R;   t   substatst
   left_width(    (    s   /usr/lib/python2.7/pstats.pyR     s,     

$
c         C   s   |  j  d I|  j  d IJd  S(   Ns-      ncalls  tottime  percall  cumtime  percalls   filename:lineno(function)(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyR     s    c         C   s  |  j  | \ } } } } } t |  } | | k rK | d t |  } n  |  j | j d  I|  j t |  I| d k r |  j d In |  j t t |  |  I|  j t |  I| d k r |  j d In |  j t t |  |  I|  j t |  IJd  S(   Nt   /i	   i    R   i   s           s           (   R   t   strR   R   R   Rz   R6   (   R   R7   R8   R9   R:   R;   R<   t   c(    (    s   /usr/lib/python2.7/pstats.pyR     s    (   i   i(   (   i   i(   (   (   i   is
   call count(   i   i(   (   i   i(   (   (   i   is
   call count(   i   i(   (   i   i(   (   (   i   is   cumulative time(   i   i(   (   i   i(   (   (   i   is   cumulative time(   i   i   (   (   i   i   (   (   (   i   i   s	   file name(   i   i   (   (   i   i   (   (   (   i   i   s	   file name(   i   i   (   (   i   i   (   (   (   i   i   s   line number(   i   i   (   (   i   i   (   (   (   i   i   s	   file name(   i   i   (   (   i   i   (   (   (   i   i   s   function name(   i   i   (   i   i   (   i   i   (   i    i(   (   i    i(   (   (   i    is   primitive call count(   i   i   (   (   i   i   (   (   (   i   i   s   standard name(   i   i(   (   i   i(   (   (   i   is   internal time(   i   i(   (   i   i(   (   (   i   is   internal time(   t   __name__t
   __module__t   __doc__R   R   R   R   R   RG   RS   RY   Rh   Rj   Rt   Ru   R   R   R   R   R   R   R   R   R   (    (    (    s   /usr/lib/python2.7/pstats.pyR       sH   				
		

		 										R`   c           B   s    e  Z d  Z d   Z d   Z RS(   s  This class provides a generic function for comparing any two tuples.
    Each instance records a list of tuple-indices (from most significant
    to least significant), and sort direction (ascending or decending) for
    each tuple-index.  The compare functions can then be used as the function
    argument to the system sort() function when a list of tuples need to be
    sorted in the instances order.c         C   s   | |  _  d  S(   N(   t   comp_select_list(   R   R   (    (    s   /usr/lib/python2.7/pstats.pyR     s    c         C   sS   xL |  j  D]A \ } } | | } | | } | | k  r; | S| | k r
 | Sq
 Wd S(   Ni    (   R   (   R   t   leftt   rightt   indext	   directiont   lt   r(    (    s   /usr/lib/python2.7/pstats.pyRa     s    

(   R   R   R   R   Ra   (    (    (    s   /usr/lib/python2.7/pstats.pyR`     s   	c         C   s(   |  \ } } } t  j j |  | | f S(   N(   R)   t   patht   basename(   t	   func_nameRF   RL   RN   (    (    s   /usr/lib/python2.7/pstats.pyRk     s    c         C   s   |  d S(   Ni   (    (   R7   (    (    s   /usr/lib/python2.7/pstats.pyR     s    c         C   sZ   |  d  d
 k rN |  d } | j  d  rG | j d  rG d | d d !S| Sn d	 |  Sd  S(   Ni   t   ~i    t   <t   >s   {%s}i   is	   %s:%d(%s)(   R   i    (   t
   startswitht   endswith(   R   RN   (    (    s   /usr/lib/python2.7/pstats.pyR6     s    
c         C   sV   | \ } } } } } |  \ } } }	 }
 } | | | | | |	 | |
 t  | |  f S(   s3   Add together all the stats for two profile entries.(   t   add_callers(   t   targetR   R8   R9   R:   R;   R<   t   t_cct   t_nct   t_ttt   t_ctt	   t_callers(    (    s   /usr/lib/python2.7/pstats.pyR?     s    c         C   s   i  } x$ |  j    D] \ } } | | | <q Wx | j    D] \ } } | | k r t | t  r t g  t | | |  D] } | d | d ^ qx  | | <q | | c | 7<q: | | | <q: W| S(   s*   Combine two caller lists in a single list.i    i   (   R>   R#   Rg   t   zip(   R   R   t   new_callersR7   Rq   t   i(    (    s   /usr/lib/python2.7/pstats.pyR     s    9c         C   s+   d } x |  j    D] } | | 7} q W| S(   s@   Sum the caller statistics to get total number of calls received.i    (   R   (   R<   R9   RH   (    (    s   /usr/lib/python2.7/pstats.pyt   count_calls  s    c         C   s   d |  S(   Ns   %8.3f(    (   t   x(    (    s   /usr/lib/python2.7/pstats.pyR     s    t   __main__t   ProfileBrowserc           B   s   e  Z d d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z d	   Z d
   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   c         C   sN   t  j j |   d |  _ d  |  _ t j |  _ | d  k	 rJ |  j	 |  n  d  S(   Ns   % (
   t   cmdt   CmdR   t   promptR
   R   R   R   R   t   do_read(   R   t   profile(    (    s   /usr/lib/python2.7/pstats.pyR   &  s    		c         C   s   | j    } g  } x | D] } y | j t |   w Wn t k
 rL n XyK t |  } | d k st | d k  r |  j d IJw n  | j |  w Wn t k
 r n X| j |  q W|  j r t |  j |  |   n |  j d IJd S(   Ni   i    s#   Fraction argument must be in [0, 1]s   No statistics object is loaded.(   t   splitR_   R\   R   Rz   R   R   t   getattr(   R   t   fnRL   R   t	   processedt   termt   frac(    (    s   /usr/lib/python2.7/pstats.pyt   generic.  s,    	c         C   sR   |  j  d IJ|  j  d IJ|  j  d IJ|  j  d IJ|  j  d IJ|  j  d IJd  S(   Ns   Arguments may be:s0   * An integer maximum number of entries to print.s:   * A decimal fractional number between 0 and 1, controllings-     what fraction of selected entries to print.s8   * A regular expression; only entries with function namess     that match it are printed.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   generic_helpF  s    c         C   s-   |  j  r |  j  j |  n |  j d IJd S(   Ns   No statistics object is loaded.i    (   R   R   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt   do_addN  s    	c         C   s   |  j  d IJd  S(   Ns>   Add profile info from given file to current statistics object.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   help_addT  s    c         C   s   |  j  d |  S(   NR   (   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt
   do_calleesW  s    c         C   s   |  j  d IJ|  j   d  S(   Ns6   Print callees statistics from the current stat object.(   R   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   help_calleesY  s    c         C   s   |  j  d |  S(   NR   (   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt
   do_callers]  s    c         C   s   |  j  d IJ|  j   d  S(   Ns6   Print callers statistics from the current stat object.(   R   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   help_callers_  s    c         C   s   |  j  d IJd S(   NRZ   i   (   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt   do_EOFc  s    c         C   s   |  j  d IJd  S(   Ns   Leave the profile brower.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   help_EOFf  s    c         C   s   d S(   Ni   (    (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt   do_quiti  s    c         C   s   |  j  d IJd  S(   Ns   Leave the profile brower.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt	   help_quitk  s    c         C   s   | r y t  |  |  _ WnU t k
 r@ } |  j | d IJd  St k
 rp } |  j | j j d I| IJd  SX| d |  _ n? t |  j  d k r |  j d  } |  j	 |  n |  j d IJd S(   Ni   t   :s   % i   is1   No statistics object is current -- cannot reload.i    (
   R   R   t   IOErrorR   t	   ExceptionR0   R   R   R	   R   (   R   RL   R   t   err(    (    s   /usr/lib/python2.7/pstats.pyR   n  s    c         C   s   |  j  d IJ|  j  d IJd  S(   Ns+   Read in profile data from a specified file.s*   Without argument, reload the current file.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt	   help_read  s    c         C   s*   |  j  r |  j  j   n |  j d IJd S(   Ns   No statistics object is loaded.i    (   R   Rj   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt
   do_reverse  s    	c         C   s   |  j  d IJd  S(   Ns/   Reverse the sort order of the profiling report.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt   help_reverse  s    c            s   |  j  s |  j d IJd  S|  j  j     | rj t   f d   | j   D  rj |  j  j | j     nH |  j d IJx8 t j j   D]' \ } } |  j d | | d f IJq Wd S(   Ns   No statistics object is loaded.c         3   s   |  ] } |   k Vq d  S(   N(    (   t   .0R   (   t   abbrevs(    s   /usr/lib/python2.7/pstats.pys	   <genexpr>  s    s/   Valid sort keys (unique prefixes are accepted):s   %s -- %si   i    (	   R   R   RY   t   allR   Rh   R   RS   R>   (   R   RL   R[   R   (    (   R   s   /usr/lib/python2.7/pstats.pyt   do_sort  s    	(c         C   s   |  j  d IJ|  j  d IJd  S(   Ns.   Sort profile data according to specified keys.s3   (Typing `sort' without arguments lists valid keys.)(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt	   help_sort  s    c         G   s)   g  t  j D] } | j |  r
 | ^ q
 S(   N(   R   RS   R   (   R   t   textR   t   a(    (    s   /usr/lib/python2.7/pstats.pyt   complete_sort  s    c         C   s   |  j  d |  S(   NR   (   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt   do_stats  s    c         C   s   |  j  d IJ|  j   d  S(   Ns.   Print statistics from the current stat object.(   R   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt
   help_stats  s    c         C   s*   |  j  r |  j  j   n |  j d IJd  S(   Ns   No statistics object is loaded.(   R   Rt   R   (   R   RL   (    (    s   /usr/lib/python2.7/pstats.pyt   do_strip  s    	c         C   s   |  j  d IJd  S(   Ns<   Strip leading path information from filenames in the report.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt
   help_strip  s    c         C   s   |  j  d IJd  S(   Ns   Show help for a given command.(   R   (   R   (    (    s   /usr/lib/python2.7/pstats.pyt	   help_help  s    c         C   s   | r
 | Sd  S(   N(   R
   (   R   t   stopRL   (    (    s   /usr/lib/python2.7/pstats.pyt   postcmd  s    N(   R   R   R
   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   (    (    (    s   /usr/lib/python2.7/pstats.pyR   %  s4   																								i   s*   Welcome to the profile statistics browser.s   Goodbye.(    R   R   R)   R+   R&   Rv   t	   functoolsR    t   __all__R   R`   Rk   R   R6   R?   R   R   R   R   R   t   readlinet   ImportErrorR   R   R	   t   argvt   initprofileR
   t   browserR   t   cmdloopt   KeyboardInterrupt(    (    (    s   /usr/lib/python2.7/pstats.pyt   <module>   sF   	 							
