config root man

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
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/cProfile.pyo

łň
h”Rc@sdZddddgZddkZddd„Zdd„Zd	„Zdeifd
„ƒYZd„Z	d„Z
ed
joe
ƒndS(sUPython interface for the 'lsprof' profiler.
   Compatible with the 'profile' module.
truntrunctxthelptProfilei˙˙˙˙Nc	Csqtƒ}d}z-y|i|ƒ}Wntj
onXWd|dj	o|i|ƒn|i|ƒ}X|S(sRun 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(RtNoneRt
SystemExitt
dump_statstprint_stats(t	statementtfilenametsorttproftresult((s$/usr/local/lib/python2.5/cProfile.pyRs		
c
Csttƒ}d}z3y|i|||ƒ}Wntj
onXWd|dj	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(RRRRRR(RtglobalstlocalsR	RR((s$/usr/local/lib/python2.5/cProfile.pyR's		

cCsdGHdGHdS(Ns<Documentation for the profile/cProfile modules can be found s?in the Python Library Reference, section 'The Python Profiler'.((((s$/usr/local/lib/python2.5/cProfile.pyR<scBsPeZdZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(	siProfile(custom_timer=None, time_unit=None, subcalls=True, builtins=True)

    Builds a profiler object using the specified timer function.
    The default timer is a fast built-in one based on real time.
    For custom timer functions returning integers, time_unit can
    be a float specifying a scale (i.e. how long each integer unit
    is, in seconds).
    i˙˙˙˙cCs2ddk}|i|ƒiƒi|ƒiƒdS(Ni˙˙˙˙(tpstatstStatst
strip_dirst
sort_statsR(tselfR
R((s$/usr/local/lib/python2.5/cProfile.pyROscCsFddk}t|dƒ}|iƒ|i|i|ƒ|iƒdS(Ni˙˙˙˙twb(tmarshaltopentcreate_statstdumptstatstclose(RtfileRtf((s$/usr/local/lib/python2.5/cProfile.pyRSs

cCs|iƒ|iƒdS(N(tdisabletsnapshot_stats(R((s$/usr/local/lib/python2.5/cProfile.pyRZs
cCsŸ|iƒ}h|_h}xz|D]r}t|iƒ}|i}||i}|i}|i}h}	|	|t|iƒ<|||||	f|i|<q"Wx|D]ř}|i	očt|iƒ}xÖ|i	D]Ç}
y|t|
iƒ}	Wnt
j
o
qČnX|
i}||
i}|
i}|
i}||	joF|	|}||d7}||d7}||d7}||d7}n||||f|	|<qČWqŸqŸWdS(Niiii(tgetstatsRtlabeltcodet	callcounttreccallcountt
inlinetimet	totaltimetidtcallstKeyError(Rtentriestcallersdictstentrytfunctnctccttttcttcallerstsubentrytprev((s$/usr/local/lib/python2.5/cProfile.pyR^sD		
		 

	
		

cCs(ddk}|i}|i|||ƒS(Ni˙˙˙˙(t__main__t__dict__R(RtcmdR4tdict((s$/usr/local/lib/python2.5/cProfile.pyR„s	cBs*|iƒz|||UWd|iƒX|S(N(tenableR(RR6R
R((s$/usr/local/lib/python2.5/cProfile.pyR‰s

cOs-|iƒz|||ŽSWd|iƒXdS(N(R8R(RR,targstkw((s$/usr/local/lib/python2.5/cProfile.pytruncall’s
(
t__name__t
__module__t__doc__RRRRRRR;(((s$/usr/local/lib/python2.5/cProfile.pyRBs			&			cCs;t|tƒodd|fSn|i|i|ifSdS(Nt~i(t
isinstancetstrtco_filenametco_firstlinenotco_name(R!((s$/usr/local/lib/python2.5/cProfile.pyR ›scCsAddk}ddk}ddkl}d}|d|ƒ}t|_|iddddd	d
ddƒ|idd
ddd	dddƒ|idp|i	ƒ|i
dƒn|iƒ\}}||i(t|iƒdjoN|i
id|i
i|idƒƒtd|idf|i|iƒn|i	ƒ|S(Ni˙˙˙˙(tOptionParsers@cProfile.py [-o output_file_path] [-s sort] scriptfile [arg] ...tusages-os	--outfiletdesttoutfileRsSave stats to <outfile>tdefaults-ss--sortR
s?Sort order when printing to stdout, based on pstats.Stats classiiisexecfile(%r)(tostsystoptparseREtFalsetallow_interspersed_argst
add_optionRtargvtprint_usagetexitt
parse_argstlentpathtinserttdirnameRRHR
(RJRKRERFtparsertoptionsR9((s$/usr/local/lib/python2.5/cProfile.pytmainŁs&	



&(
R4(R>t__all__t_lsprofRRRRtProfilerRR RZR<(((s$/usr/local/lib/python2.5/cProfile.pys<module>s	Y		


Man Man