%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/hotshot/ |
Current File : //usr/local/lib/python2.7/hotshot/__init__.pyc |
ó Oêáac @ sY d Z d d l Z d d l m Z d d l m Z e d d d ƒd d d „ ƒ YZ d S( s6 High-perfomance logging profiler, mostly written in C.iÿÿÿÿN( t ProfilerError( t warnpy3ksO The 'hotshot' module is not supported in 3.x, use the 'profile' module instead.t stackleveli t Profilec B s_ e Z d d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( i i c C s˜ | r d p d | _ | r' | r' d p* d | _ t j | | j | j ƒ | _ } | j t k r” | j | _ | j | _ | j | _ | j | _ n d S( Ni i ( t lineeventst linetimingst _hotshott profilert _proft __class__R t closet startt stopt addinfo( t selft logfnR R t p( ( s, /usr/local/lib/python2.7/hotshot/__init__.pyt __init__ s c C s | j j ƒ d S( s- Close the logfile and terminate the profiler.N( R R ( R ( ( s, /usr/local/lib/python2.7/hotshot/__init__.pyR s c C s | j j ƒ S( s6 Return the file descriptor of the profiler's log file.( R t fileno( R ( ( s, /usr/local/lib/python2.7/hotshot/__init__.pyR s c C s | j j ƒ d S( s Start the profiler.N( R R ( R ( ( s, /usr/local/lib/python2.7/hotshot/__init__.pyR "