Ñò §ÚêLc @ sY d Z d d k Z d d k l Z d d k l 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Ÿ | o d p d | _ | o | o d p d | _ t i | | i | i ƒ | _ } | i t j o4 | i | _ | i | _ | i | _ | i | _ 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/lib64/python2.6/hotshot/__init__.pyt __init__ s c C s | i i ƒ d S( s- Close the logfile and terminate the profiler.N( R R ( R ( ( s( /usr/lib64/python2.6/hotshot/__init__.pyR s c C s | i i ƒ S( s6 Return the file descriptor of the profiler's log file.( R t fileno( R ( ( s( /usr/lib64/python2.6/hotshot/__init__.pyR s c C s | i i ƒ d S( s Start the profiler.N( R R ( R ( ( s( /usr/lib64/python2.6/hotshot/__init__.pyR " s c C s | i i ƒ d S( s Stop the profiler.N( R R ( R ( ( s( /usr/lib64/python2.6/hotshot/__init__.pyR &