+
    ;i                         ^ RI t^ RIt^ RIt^ RIt^ RIt^ RIt^ RIH	t	H
t
 ^ RIHt ^ RItR tR tR t ! R R]P"                  4      t]R	8X  d   ]P(                  ! 4        R# R# )
    N)jittypes)
needs_blasc                      \        \        P                  R ,          \        P                  R ,          34      R 4       p RV n        W 3# )NN   c                 x    ^ p\        \        V 4      4       F  pW V,          W,          ,          ,          pK!  	  V# )r   )rangelenabsumis   &&  W/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/test_profiler.pydot'generate_standard_dot_case.<locals>.dot   s0    s1vAQ49C 
    Tr   r   float32_enable_sysmon)r   s    r   generate_standard_dot_caser      sA    %--
emmC0	23 4 C8Or   c                     a \        \        P                  R ,          \        P                  R ,          34      R 4       oRSn        V3R lp SV 3# )r   c                     ^ p\        \        V 4      4       F  pW V,          W,          ,          ,          pK!  	  \        R4      h)r   zproblem with dot)r
   r   
ValueErrorr   s   &&  r   raising_dot.generate_raising_dot_case.<locals>.raising_dot   s9     s1vAQ49C +,,r   Tc                 >   <  S! W4       R #   \          d     R # i ; iN)r   )r   r   r   s   &&r   call_raising_dot3generate_raising_dot_case.<locals>.call_raising_dot'   s"    	 		s    r   )r    r   s    @r   generate_raising_dot_caser"      sN    %--
emmC0	23- 4- "&K (((r   c                 .    \         P                  ! W4      # r   )npr   )r   r   s   &&r   np_dotr%   0   s    66!<r   c                   H   a  ] tR t^4t o R tR tR t]R 4       tR t	Rt
V tR# )TestProfilerc                0  a  \         P                  ! ^\         P                  R7      p\         P                  ! ^\         P                  R7      p^{p\        P                  ! 4       pVP                  4         \        V4       F  pV! W44       K  	  VP                  4        \        P                  ! V4      P                  4       pV 3R lp	V	! WP                  P                  V4       WJd   V	! WP                  V4       R# R#   TP                  4        i ; i)za
Make sure the jit-compiled function shows up in the profile stats
as a regular Python function.
)dtypec                   < \         P                  P                  VP                  4      VP                  VP
                  3pSP                  W0P                  4       V P                  V,          pSP                  VR ,          W"34       R# ):N   NN)	ospathbasenameco_filenameco_firstlinenoco_nameassertInstatsassertEqual)r3   coden_callsexpected_key
func_statsselfs   &&&  r   check_stats_for_key<TestProfiler.check_profiler_dot.<locals>.check_stats_for_keyG   si    GG,,T-=-=> // LLL
 MM,4\2JZ^g-?@r   N)r$   aranger   profilerProfileenabler
   disablepstatsStats
strip_dirspy_func__code__)
r9   callercfuncr   r   r6   p_r3   r:   s
   f&&       r   check_profiler_dotTestProfiler.check_profiler_dot6   s    
 IIb

+IIb

+	
	7^q $ IIKQ**,		A 	E==#9#97C @ % IIKs   6D Dc                @    \        4       w  rV P                  W4       R # r   )r   rJ   )r9   r   rI   s   &  r   test_profilerTestProfiler.test_profilerY   s    +-)r   c                @    \        4       w  rV P                  W!4       R # r   )r"   rJ   )r9   r   r    s   &  r   "test_profiler_for_raising_function/TestProfiler.test_profiler_for_raising_function]   s    (A(C% 0>r   c                X    R p\         P                  ! \        P                  RV.4       R# )a  if 1:
            import cProfile as profiler

            import numpy as np

            from numba import jit
            from numba.tests.test_profiler import np_dot

            cfunc = jit(nopython=True)(np_dot)

            a = np.arange(16, dtype=np.float32)
            b = np.arange(16, dtype=np.float32)

            p = profiler.Profile()
            p.enable()
            cfunc(a, b)
            cfunc(a, b)
            p.disable()
            -cN
subprocess
check_callsys
executabler9   r5   s   & r   test_profiler_np_dot!TestProfiler.test_profiler_np_dota   s$    & 	s~~tT:;r   c                X    R p\         P                  ! \        P                  RV.4       R# )a  if 1:
            import cProfile as profiler
            p = profiler.Profile()
            p.enable()

            from numba.tests.npyufunc.test_dufunc import TestDUFunc
            t = TestDUFunc('test_npm_call')
            t.test_npm_call()

            p.disable()
            rS   NrT   rY   s   & r   test_issue_3229TestProfiler.test_issue_3229y   s$    
 	s~~tT:;r    N)__name__
__module____qualname____firstlineno__rJ   rM   rP   r   rZ   r]   __static_attributes____classdictcell__)__classdict__s   @r   r'   r'   4   s4     !AF*? < <.< <r   r'   __main__)cProfiler=   r,   rA   rU   rW   numpyr$   numbar   r   numba.tests.supportr   unittestr   r"   r%   TestCaser'   r`   mainr_   r   r   <module>ro      s\     	   
   * 
)*W<8$$ W<r zMMO r   