Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/cProfile.pyc |
łň hRc @ s d Z d d d d g Z d d k Z d d d Z d d Z d Z d e i f d YZ d Z d Z e d j o e n d S( sU Python interface for the 'lsprof' profiler. Compatible with the 'profile' module. t runt runctxt helpt Profilei˙˙˙˙Nc C sq t } d } z- y | i | } Wn t j o n XWd | d j o | i | n | i | } X| S( s 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( R t NoneR t SystemExitt dump_statst print_stats( t statementt filenamet sortt proft result( ( s$ /usr/local/lib/python2.5/cProfile.pyR s c C st t } d } z3 y | i | | | } Wn t j o n XWd | d j o | i | n | i } X| S( sˇ 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( R R R R R R ( R t globalst localsR R R ( ( s$ /usr/local/lib/python2.5/cProfile.pyR ' s c C s d GHd GHd S( Ns<