ó o”þfc@s¨dZddlZddlZddlZddlmZmZd„Zddd„ƒYZdej fd„ƒYZ d dd „ƒYZ d dd „ƒYZ d „Z dS(s Statistics analyzer for HotShot.iÿÿÿÿN(tENTERtEXITcCst|ƒjƒS(N(t StatsLoadertload(tfilename((s%/usr/lib64/python2.7/hotshot/stats.pyR sRcBs#eZd„Zd„Zd„ZRS(cCs.||_i|_g|_|jj|_dS(N(t_logfnt_codet_stacktpopt pop_frame(tselftlogfn((s%/usr/lib64/python2.7/hotshot/stats.pyt__init__s   c Csïtƒ}t|_tjj|jƒ}d}x²|D]ª}|\}\}}}} | dkrk|| 7}n|tkr©|j|||ƒ} |j | |dƒd}q4|t kr4|j ƒ} |j | |dƒd}q4q4Wt j|ƒS(Nigíµ ÷Æ°>(tProfilet _brokentimertget_timethotshottlogt LogReaderRRt new_framettrace_dispatch_callRR ttrace_dispatch_returntpstatstStats( R tpRttaccumteventtwhatRtlinenotfuncnamettdeltatframe((s%/usr/lib64/python2.7/hotshot/stats.pyRs"          cGs€y|j|}Wn*tk r=t|Œ}||j|s    ;