def timeit_wrapper(func):
    def wrapper(*arg, **kw):
        t1 = time.time()
        res = func(*arg, **kw)
        t2 = time.time()
        return (t2 - t1), res
    return wrapper
dataset/ETHPy150Open openstack/monitoring-for-openstack/oschecks/utils.py/timeit_wrapper/original