Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/__pycache__/ |
Upload File : |
o �p` � @ sb d Z ddlZdZzejZW dS e�y0 ddlZddlZddlZddlZddl Z z�ej dkrYejddd�ZG dd � d ej �ZejZeje_e� Ze�e�e�� d Zdd� Zn�ej �d �seej �d�r�ej �d�r�zejjZW n ey� ej�d�ZY nw ejjZeedd�Zer�eje_dd� ZntejZej e_e �!� Z"da#da$dd� Zn`zejej%�&d�dd�j'Z'W n e(y� ejej%�&d�dd�j'Z'Y nw G dd� dej �Z)ej �d�r�dZ*n&ej �d�r�dZ*nej �d�r�dZ*ndej v r�dZ*nej �d��re�+d�Z*d d� Ze� e� dk�re,d!��W Y dS e(�y/ Z- ze.d"e/e-� ��dZ-[-ww w )#a monotonic ~~~~~~~~~ This module provides a ``monotonic()`` function which returns the value (in fractional seconds) of a clock which never goes backwards. On Python 3.3 or newer, ``monotonic`` will be an alias of ``time.monotonic`` from the standard library. On older versions, it will fall back to an equivalent implementation: +-------------+----------------------------------------+ | Linux, BSD | ``clock_gettime(3)`` | +-------------+----------------------------------------+ | Windows | ``GetTickCount`` or ``GetTickCount64`` | +-------------+----------------------------------------+ | OS X | ``mach_absolute_time`` | +-------------+----------------------------------------+ If no suitable implementation exists for the current platform, attempting to import this module (or to import from it) will cause a ``RuntimeError`` exception to be raised. Copyright 2014, 2015, 2016 Ori Livneh <ori@wikimedia.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. � N)� monotonic�darwinz/usr/lib/libc.dylibT)� use_errnoc @ �$ e Zd ZdZdejfdejffZdS )�mach_timebase_info_data_tz4System timebase info. Defined in <mach/mach_time.h>.�numer�denomN)�__name__� __module__�__qualname__�__doc__�ctypes�c_uint32�_fields_� r r �+/usr/lib/python3/dist-packages/monotonic.pyr = � �r � e��Ac C s t � tj tj } | t S )�$Monotonic clock, cannot go backward.)�mach_absolute_time�timebaser r �nanoseconds_in_second)�nanosecondsr r r r I s r �win32�cygwinzkernel32.dll�GetTickCount64c C s t � d S )r � @�@)r r r r r r i s c C sZ t �! t� } | tk rtd7 a| atd>