Ë
    ½GìjŽ  ã                   ó"   — d dl Z  G d„ de«      Zy)é    Nc                   ó   — e Zd ZdZd„ Zdd„Zy)ÚTimerzTimer for benchmarkingc                 ó6   — t        j                  «       | _        y)zStarts a timerN)ÚtimeÚperf_counterÚt)Úselfs    úXC:\Users\Stabi\Downloads\virtual-tryon(1)\venv\Lib\site-packages\pymatting/util/timer.pyÚ__init__zTimer.__init__   s   € ô ×"Ñ"Ó$ˆ�ó    Nc                 óœ   — t        j                  «       | j                  z
  }|�t        |d|z  «       t        j                  «       | _        |S )aï  Return and print time since last stop-call or initialization.
        Also print elapsed time if message is provided.

        Parameters
        ----------
        message: str
            Message to print in front of passed seconds

        Example
        -------
        >>> from pymatting import *
        >>> t = Timer()
        >>> t.stop()
        2.6157200919999966
        >>> t = Timer()
        >>> t.stop('Test')
        Test  - 11.654551 seconds
        11.654551381000001
        z - %f seconds)r   r   r   Úprint)r	   ÚmessageÚ
delta_times      r
   Ústopz
Timer.stop   sF   € ô( ×&Ñ&Ó(¨4¯6©6Ñ1ˆ
àÐÜ�'˜?¨ZÑ7Ô8ä×"Ñ"Ó$ˆŒàÐr   )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r
   r   r      s   „ Ù ò%ô
r   r   )r   Úobjectr   r   r   r
   Ú<module>r      s   ðÛ ô#ˆFõ #r   