\x89\x50\x4E\x47\x0D\x0A\x1A\x0A PNG  \x89\x50\x4E\x47\x0D\x0A\x1A\x0A ó 1è3\c@@sIdZddlmZddlmZd„Zdefd„ƒYZdS( sC lsprofcalltree.py - lsprof output which is readable by kcachegrind Authors: * David Allouche allouche.net> * Jp Calderone & Itamar Shtull-Trauring * Johan Dahlin This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. i(tabsolute_importi(tpycompatcC@sPt|tƒr dtj|ƒSdtj|jƒtj|jƒ|jfSdS(Nt~s%s %s:%d(t isinstancetstrRtsysbytestco_namet co_filenametco_firstlineno(tcode((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pytlabels t KCacheGrindcB@s5eZd„Zd„Zd„Zd„Zd„ZRS(cC@s|jƒ|_d|_dS(N(tgetstatstdatatNonetout_file(tselftprofiler((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyt__init__scC@sE||_|jdƒ|jƒx|jD]}|j|ƒq*WdS(Nsevents: Ticks (Rtwritet_print_summaryR t_entry(RRtentry((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pytoutput!s    cC@sTd}x3|jD](}t|jdƒ}t||ƒ}qW|jjd|ƒdS(Niiès summary: %d (R tintt totaltimetmaxRR(Rtmax_costRR((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyR(s cC@s#|j}|j}t|tƒr1|jdƒn|jdtj|jƒƒ|jdt|ƒƒt |j dƒ}t|tƒr›|jd|ƒn|jd|j |fƒ|j rÊ|j }ng}t|tƒrèd}n |j }x|D]}|j ||ƒqøW|jdƒdS( Nsfi=~ sfi=%s sfn=%s iès0 %d s%d %d is (RR RRRRRRR Rt inlinetimeRtcallst _subentry(RRRR RRtlinenotsubentry((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyR/s&       cC@sÄ|j}|j}|jdt|ƒƒt|tƒr\|jdƒ|jd|jƒn:|jdtj|j ƒƒ|jd|j|j fƒt |j dƒ}|jd||fƒdS(Nscfn=%s scfi=~ s calls=%d 0 scfi=%s s calls=%d %d iès%d %d ( RR RR RRt callcountRRRRRR(RRR RR R((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyRPs    (t__name__t __module__RRRRR(((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyR s     !N(t__doc__t __future__RtRR tobjectR (((s>/usr/lib64/python2.7/site-packages/mercurial/lsprofcalltree.pyt s