ACC SHELL

Path : /usr/lib/python/hotshot/
File Upload :
Current File : //usr/lib/python/hotshot/__init__.pyo

Ñò
rÄMc@sYdZddkZddklZddklZedddƒdd
d	„ƒYZdS(s6High-perfomance logging profiler, mostly written in C.iÿÿÿÿN(t
ProfilerError(twarnpy3ksOThe 'hotshot' module is not supported in 3.x, use the 'profile' module instead.t
stacklevelitProfilecBs_eZddd„Zd„Zd„Zd„Zd„Zd„Zd„Zd	„Z	d
„Z
RS(iicCsŸ|odpd|_|o|odpd|_ti||i|iƒ|_}|itjo4|i|_|i|_|i	|_	|i
|_
ndS(Nii(t
lineeventstlinetimingst_hotshottprofilert_proft	__class__Rtclosetstarttstoptaddinfo(tselftlogfnRRtp((s&/usr/lib/python2.6/hotshot/__init__.pyt__init__scCs|iiƒdS(s-Close the logfile and terminate the profiler.N(RR
(R((s&/usr/lib/python2.6/hotshot/__init__.pyR
scCs
|iiƒS(s6Return the file descriptor of the profiler's log file.(Rtfileno(R((s&/usr/lib/python2.6/hotshot/__init__.pyRscCs|iiƒdS(sStart the profiler.N(RR(R((s&/usr/lib/python2.6/hotshot/__init__.pyR"scCs|iiƒdS(sStop the profiler.N(RR(R((s&/usr/lib/python2.6/hotshot/__init__.pyR&scCs|ii||ƒdS(s3Add an arbitrary labelled value to the profile log.N(RR
(Rtkeytvalue((s&/usr/lib/python2.6/hotshot/__init__.pyR
*scCs(ddk}|i}|i|||ƒS(s»Profile an exec-compatible string in the script
        environment.

        The globals from the __main__ module are used as both the
        globals and locals for the script.
        iÿÿÿÿN(t__main__t__dict__trunctx(RtcmdRtdict((s&/usr/lib/python2.6/hotshot/__init__.pytrun1s	cCs,t|ddƒ}|ii|||ƒ|S(s‡Evaluate an exec-compatible string in a specific
        environment.

        The string is compiled before profiling begins.
        s<string>texec(tcompileRtruncode(RRtglobalstlocalstcode((s&/usr/lib/python2.6/hotshot/__init__.pyR<scOs|ii|||ƒS(sProfile a single call of a callable.

        Additional positional and keyword arguments may be passed
        along; the result of the call is returned, and exceptions are
        allowed to propogate cleanly, while ensuring that profiling is
        disabled on the way out.
        (Rtruncall(Rtfunctargstkw((s&/usr/lib/python2.6/hotshot/__init__.pyR!Fs(t__name__t
__module__RR
RRRR
RRR!(((s&/usr/lib/python2.6/hotshot/__init__.pyR
s							
((t__doc__RRtwarningsRt	_warnpy3kR(((s&/usr/lib/python2.6/hotshot/__init__.pyt<module>s	

ACC SHELL 2018