
    Cj              	       r    S r SSKrSSKJr  SSKJr  SSKJr  \R                  SS\	S\
S\S	   4S
 jj5       rg)z,
Timer context manager, only used in debug.
    N)perf_counter)	Generator)logsubject	thresholdreturn)NNNc              #   |   #    [        5       nSv   [        5       U-
  nX1:  a  US-  n[        U  SUS S35        gg7f)zprint the elapsed time. (only used in debugging).

Args:
    subject: Text shown in log.
    threshold: Time in second after which the log is written.

Ni  z	 elapsed z.4fms)r   r   )r   r   startelapsed
elapsed_mss        b/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/textual/_profile.pytimerr      sI      NE	nu$Gt^
wiyC 034 s   :<)timer   )__doc__
contextlibr   r   typingr   textualr   contextmanagerstrfloatr        r   <module>r      sM        53 5E 5)DT:U 5 5r   