# Path: ripyl/util/eng.py
# def eng_si(f, units='', frac_digits=3, unit_sep=' '):
#     '''Create engineering formatted string with SI units'''
#     return str(EngSI(f, units, frac_digits, unit_sep))


import struct
import os
import array
import sys
import unittest
import random
import time
import gc
import ripyl.util.color as color
from ripyl.util.eng import eng_si

                pass

        finally:
            gc.enable()

        delta = t_end - t_start

        iterations = None
        units_processed = 1
        unit_name = 'units'
        if result:
            try:
                if len(result) >= 2:
                    iterations = result[0]
                    units_processed = result[1]

                    if len(result) >= 3:
                        unit_name = result[2]
            except TypeError:
                iterations = result
            

        if iterations:
            per_iter = delta / iterations
        else:
            per_iter = delta

        processing_rate = units_processed / delta

        print('*   Test duration: total {}, per iteration {}, rate {}'.format( \

# Path: ripyl/util/eng.py
# def eng_si(f, units='', frac_digits=3, unit_sep=' '):
#     '''Create engineering formatted string with SI units'''
#     return str(EngSI(f, units, frac_digits, unit_sep))


# Path: test/test_support.py
import struct
import os
import array
import sys
import unittest
import random
import time
import gc
import ripyl.util.color as color
from ripyl.util.eng import eng_si

                pass

        finally:
            gc.enable()

        delta = t_end - t_start

        iterations = None
        units_processed = 1
        unit_name = 'units'
        if result:
            try:
                if len(result) >= 2:
                    iterations = result[0]
                    units_processed = result[1]

                    if len(result) >= 3:
                        unit_name = result[2]
            except TypeError:
                iterations = result
            

        if iterations:
            per_iter = delta / iterations
        else:
            per_iter = delta

        processing_rate = units_processed / delta

        print('*   Test duration: total {}, per iteration {}, rate {}'.format( \

            eng_si(delta, 's'), eng_si(per_iter, 's'), eng_si(processing_rate, unit_name + '/s') ))
