HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/zmq/sugar/__pycache__/stopwatch.cpython-310.pyc
o

�N�g��@sdZGdd�d�ZdS)z#Deprecated Stopwatch implementationc@s(eZdZdZdd�Zdd�Zdd�ZdS)	�	StopwatchzmDeprecated zmq.Stopwatch implementation

    You can use Python's builtin timers (time.monotonic, etc.).
    cCsRddl}|jdtdd�d|_ddl}z|j|_WdSty(|j|_YdSw)N�zJzmq.Stopwatch is deprecated. Use stdlib time.monotonic and friends instead�)�
stacklevel)�warnings�warn�DeprecationWarning�_start�time�	monotonic�
_monotonic�AttributeError)�selfrr	�r�G/opt/saltstack/salt/lib/python3.10/site-packages/zmq/sugar/stopwatch.py�__init__
s��zStopwatch.__init__cCs|��|_dS)zStart the counterN)rr)r
rrr�startszStopwatch.startcCs|��}td||j�S)z'Return time since start in microsecondsg��.A)r�intr)r
�stoprrrr!szStopwatch.stopN)�__name__�
__module__�__qualname__�__doc__rrrrrrrrs
rN)rrrrrr�<module>s