B
    ¦	\   ć               @   s   d Z dd ZdS )z#
Helper functions for benchmarking
c             C   s   d}| j | j|  S )a9  
    helper function to emulate function total_seconds,
    introduced in python2.7

    https://docs.python.org/library/datetime.html#datetime.timedelta.total_seconds

    Parameters
    ----------
    delta : datetime object

    Returns
    -------
    int
        The number of seconds contained in delta
    gķµ ÷Ę°>)ZsecondsZmicroseconds)ZdeltaZmu_sec© r   ś2lib/python3.7/site-packages/sklearn/utils/bench.pyŚtotal_seconds   s    r   N)Ś__doc__r   r   r   r   r   Ś<module>   s   