+
    i  c                   s   R t . R	Ot^ RIt^ RIt^ RIt^ RIt^ RItR
R lt	R
R lt
]P                  P                   ]	n         ]P                  P                   ]
n          ! R R]P                  4      tR tR t]R8X  d
   ]! 4        R# R# )zRPython interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
ProfileNc                 sV    \         P                  ! \        4      P                  WV4      # N)
_pyprofile_Utilsr    run)	statementfilenamesorts   &&&!/usr/lib64/python3.14/cProfile.pyr   r      s     W%)))tDD    c                 sX    \         P                  ! \        4      P                  WVW44      # r   )r   r   r    runctx)r   globalslocalsr   r   s   &&&&&r   r
   r
      s'    W%,,Y-5= =r	   c                   s^   a  ] tR t^t o RtRR ltR tR tR tR t	R t
R tR	 tR
 tRtV tR# )r    aH  Profile(timer=None, timeunit=None, subcalls=True, builtins=True)

Builds a profiler object using the specified timer function.
The default timer is a fast built-in one based on real time.
For custom timer functions returning integers, timeunit can
be a float specifying a scale (i.e. how long each integer unit
is, in seconds).
c                s    ^ RI p\        V\        4      '       g   V3pVP                  V 4      P	                  4       P
                  ! V!  P                  4        R#     N)pstats
isinstanceZtupleStatsZ
strip_dirsZ
sort_statsprint_stats)selfr   r   s   && r   r   ZProfile.print_stats)   sB    $&&7DT%%'22D9EEGr	   c                s    ^ RI p\        VR4      ;_uu_ 4       pV P                  4        VP                  V P                  V4       RRR4       R#   + '       g   i     R# ; i)r   NZwb)marshalZopencreate_statsZdumpstats)r   Zfiler   Zf   &&  r   
dump_statsZProfile.dump_stats/   sA    $LLQ' s   -AA!	c                sF    V P                  4        V P                  4        R # r   )disablesnapshot_statsr      &r   r   ZProfile.create_stats5   s    r	   c                s*   V P                  4       p/ V n        / pV Fy  p\        VP                  4      pVP                  pWSP
                  ,
          pVP                  pVP                  p/ p	W\        VP                  4      &   WeWxV	3V P                  V&   K{  	  V F  pVP                  '       g   K  \        VP                  4      pVP                   F  p
 V\        V
P                  4      ,          p	T
P                  pYZP
                  ,
          pT
P                  pT
P                  pYI9   dE   Y,          pY[^ ,          ,          pYk^,          ,          pY{^,          ,          pY^,          ,          pYVYx3Y&   K  	  K  	  R#   \         d     K  i ; ir   )Zgetstatsr   labelcodeZ	callcountZreccallcountZ
inlinetimeZ	totaltimeZidZcallsZKeyError)r   ZentriesZcallersdictsZentryfuncZncZccZttZctZcallersZsubentryZprevs   &           r   r   ZProfile.snapshot_stats9   sW   --/
E$DB(((B!!BBG+2EJJ(!rw6DJJt  E{{{UZZ( %H!".r(--/@"A "++B333B!,,B!++B&}1g1g1g1g$&BNGM !,  $ ! !s   FFFc                sF    ^ RI pVP                  pV P                  WV4      # r   )__main____dict__r
   )r   cmdr    Zdictr   r   r   ZProfile.run_   s!      {{3d++r	   c                s    V P                  4         \        WV4       V P                  4        V #   T P                  4        i ; ir   )enableexecr   )r   r"   r   r   s   &&&&r   r
   ZProfile.runctxd   s5    	v&LLN LLNs	   0 Ac               s~    V P                  4         V! V/ VB V P                  4        #   T P                  4        i ; ir   )r#   r   )r   r   argsZkws   ""*,r   runcallZProfile.runcallm   s0    	$$LLNDLLNs   * <c                s&    V P                  4        V # r   )r#   r   r   r   	__enter__ZProfile.__enter__t   s    r	   c                s&    V P                  4        R # r   )r   )r   Zexc_infos   &*r   __exit__ZProfile.__exit__x   s    r	   )r   N))__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r   r   r   r
   r&   r'   r(   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r    r       s>     H(!3L,
 r	   c                 s~    \        V \        4      '       d   R ^ V 3# V P                  V P                  V P                  3# )Z~)r   ZstrZco_filenameZco_firstlinenoZco_name)r   r   r   r   r   }   s8    $Q~  $"5"5t||DDr	   c                  s   ^ RI p ^ RIp^ RIp^ RIp^ RIHp RpV! VR7      pRVn        VP                  RRRR	RR
7       VP                  RRRR^\        VP                  P                  4      R7       VP                  RRRRRR7       VP                  R,          '       g"   VP                  4        VP                  ^4       VP                  4       w  rxWP                  R&   VP                  e+   V P                   P#                  VP                  4      Vn        \%        V4      ^ 8  Ed^   VP&                  '       d   Rp	RVP(                  RV^ ,          /p
EM
V^ ,          pVP                   P+                  ^ V P                   P-                  V4      4       \.        P0                  ! V4      ;_uu_ 4       p\3        VP5                  4       VR4      p	RRR4       \6        P8                  P;                  RRVR7      p\6        P<                  P?                  V4      pWP@                  R&   VPB                  p
V
PE                  RVRVPF                  RVPH                  R RR!R/4        \K        X	V
RVP                  VPL                  4       V# VP                  4        V#   + '       g   i     L; i  \N         d.   pRTn(        TP                  TPR                  4        Rp?T# Rp?ii ; i)"r   N)OptionParserzNcProfile.py [-o output_file_path] [-s sort] [-m module | scriptfile] [arg] ...)usageFz-oz	--outfileoutfilezSave stats to <outfile>)desthelpdefaultz-sz--sortr   z?Sort order when printing to stdout, based on pstats.Stats class)r/   r0   r1   Zchoicesz-mmoduleZ
store_truezProfile a library module)r/   Zactionr0   r1   :i   NN:NNNz(run_module(modname, run_name='__main__')
run_moduleZmodnamer$   r    )nameZloaderoriginZ__spec__Z__file__r*   Z__package__Z
__cached__)*ossysrunpyr   Zoptparser,   Zallow_interspersed_argsZ
add_optionZsortedr   Zsort_arg_dict_defaultZargvZprint_usageZexitZ
parse_argsr.   ZpathZabspathZlenr2   r3   ZinsertZdirnameioZ	open_codeZcompileZread	importlibZ	machineryZ
ModuleSpecZutilZmodule_from_specZmodulesr!   Zupdater5   r4   r
   r   ZBrokenPipeErrorZstdoutZerrno)r6   r7   r8   r   r,   r-   ZparserZoptionsr%   r   ZglobsZprognameZfpZspecr2   Zexcs                   r   mainr;      sx   %\E&F%*F"
dKi&  6
dH6Nv||99:  < d,'  8 88B<<'')OWHHQK "''//'//:
4y1}>>>=De..47E
 AwHHHOOArwwx89h''2rwwy(F; (&&11z$9A 2 CD^^44T:F '-KK
# OOELLDDKKDIItd 	 4goow||D M 	M9 (',  	 CJHHSYY M	 s$   5J$#J. J+	.K&9"K!!K&r    )r   r
   r    )Nr)   )r+   Z__all__Z_lsprofZimportlib.machineryr:   Zimportlib.utilr9   Zprofiler   r   r
   ZProfilerr    r   r;   r*   ) r	   r   <module>r<      s    '    	 
E= nn$$""**]g ]BEDN zF r	   