ó {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}q4q4W|j sòt‚tj|ƒS(Nigíµ ÷Æ°>(tProfilet _brokentimertget_timethotshottlogt LogReaderRRt new_framettrace_dispatch_callRR ttrace_dispatch_returnRtAssertionErrortpstatstStats( R tpRttaccumteventtwhatRtlinenotfuncnamettdeltatframe((s%/usr/lib64/python2.7/hotshot/stats.pyRs$          cGs€y|j|}Wn*tk r=t|Œ}||j|s    ;