ok
Direktori : /proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/ |
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/profile.cpython-33.pyo |
� ryMa�S c @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d d g Z e d d d � Z e d d d � Z Gd d � d � Z d d � Z e d k r� e � n d S( u Class for profiling Python code.i N( u OptionParseru runu runctxu Profilei c C s^ t � } y | j | � } Wn t k r0 Yn X| d k rM | j | � n | j | � Sd S( u Run statement under profiler optionally saving results in filename This function takes a single argument that can be passed to the "exec" statement, and an optional file name. In all cases this routine attempts to "exec" its first argument and gather profiling statistics from the execution. If no file name is present, then this function automatically prints a simple profiling report, sorted by the standard name string (file/line/function-name) that is presented in each line. N( u Profileu runu SystemExitu Noneu dump_statsu print_stats( u statementu filenameu sortu prof( ( u, /opt/alt/python33/lib64/python3.3/profile.pyu run0 s c C sd t � } y | j | | | � } Wn t k r6 Yn X| d k rS | j | � n | j | � Sd S( u� Run statement under profiler, supplying your own globals and locals, optionally saving results in filename. statement and filename have the same semantics as profile.run N( u Profileu runctxu SystemExitu Noneu dump_statsu print_stats( u statementu globalsu localsu filenameu sortu prof( ( u, /opt/alt/python33/lib64/python3.3/profile.pyu runctxE s c B s~ | Ee Z d Z d Z d Z d8 d8 d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z i e d 6e d 6e d 6e d 6e d 6e d 6Z d d � Z Gd d � d � Z Gd d � d � Z d! d"