Server IP : 192.158.238.246 / Your IP : 3.145.125.13 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/dnf/cli/__pycache__/ |
Upload File : |
3 �ft`� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZ ddl Z ddlZddlZej ejd �Ze jd�Zd d � Zdd� Zd d� Zdd� ZdS )z/Various utility functions, and a utility class.� )�absolute_import)�unicode_literals)� format_number)�_N� SC_CLK_TCK�dnfc C s t | �t S )z�Convert a number of jiffies to seconds. How many jiffies are in a second is system-dependent, e.g. 100 jiffies = 1 second is common. :param jiffies: a number of jiffies :return: the equivalent number of seconds )�int�_USER_HZ)Zjiffies� r �/usr/lib/python3.6/utils.py�jiffies_to_seconds s r c C sj | dkr0d| d | d d | d d | d f S | dkrVd| d | d d | d f S d| d | d f S ) a Return a human-readable string representation of the length of a time interval given in seconds. :param seconds: the length of the time interval in seconds :return: a human-readable string representation of the length of the time interval �<