�
�[/\c @@ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l Z d d l
Z
d d l Z d d l Z e j
e j d � Z e
j d � Z d � Z d
� Z d � Z d � Z d S(
u/ Various utility functions, and a utility class.i ( t absolute_import( t unicode_literals( t
format_number( t _Nu
SC_CLK_TCKu dnfc C@ s t | � t S( u� 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
( t intt _USER_HZ( t jiffies( ( s1 /usr/lib/python2.7/site-packages/dnf/cli/utils.pyt jiffies_to_seconds s c C@ s{ | d k r8 d | d | d
d | d d | d f S| d k re d | d | d d | d f Sd | d | d f S(
u 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
i<