Files
PowerToys/PythonHome/Lib/hotshot/__init__.pyc

30 lines
3.2 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<EFBFBD>W`Sc@sYdZddlZddlmZddlmZeddd<00>dd
d <00><00>YZdS( s6High-perfomance logging profiler, mostly written in C.i<><69><EFBFBD><EFBFBD>N(t ProfilerError(twarnpy3ksOThe 'hotshot' module is not supported in 3.x, use the 'profile' module instead.t
stacklevelitProfilecBs_eZddd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd <00>Z d
<00>Z
RS( iicCs<>|r dpd|_|r'|r'dp*d|_tj||j|j<00>|_}|jtkr<>|j|_|j|_|j |_ |j
|_
ndS(Nii( t
lineeventst linetimingst_hotshottprofilert_proft __class__Rtclosetstarttstoptaddinfo(tselftlogfnRRtp((s.\Lib\hotshot\__init__.pyt__init__ s   cCs|jj<00>dS(s-Close the logfile and terminate the profiler.N(RR
(R((s.\Lib\hotshot\__init__.pyR
scCs |jj<00>S(s6Return the file descriptor of the profiler's log file.(Rtfileno(R((s.\Lib\hotshot\__init__.pyRscCs|jj<00>dS(sStart the profiler.N(RR (R((s.\Lib\hotshot\__init__.pyR "scCs|jj<00>dS(sStop the profiler.N(RR (R((s.\Lib\hotshot\__init__.pyR &scCs|jj||<00>dS(s3Add an arbitrary labelled value to the profile log.N(RR (Rtkeytvalue((s.\Lib\hotshot\__init__.pyR *scCs(ddl}|j}|j|||<00>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<><69><EFBFBD><EFBFBD>N(t__main__t__dict__trunctx(RtcmdRtdict((s.\Lib\hotshot\__init__.pytrun1s  cCs,t|dd<00>}|jj|||<00>|S(s<>Evaluate an exec-compatible string in a specific
environment.
The string is compiled before profiling begins.
s<string>texec(tcompileRtruncode(RRtglobalstlocalstcode((s.\Lib\hotshot\__init__.pyR<scOs|jj|||<00>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.\Lib\hotshot\__init__.pyR!Fs( t__name__t
__module__RR
RR R R RRR!(((s.\Lib\hotshot\__init__.pyR
s     
((t__doc__RRtwarningsRt _warnpy3kR(((s.\Lib\hotshot\__init__.pyt<module>s