@wraps(func)
def func_wrapper(*args, **kwargs):
    t0 = time.clock()
    try:
        return func(*args, **kwargs)
    finally:
        t1 = time.clock()
        duration = ((t1 - t0) * (10 ** 6))
        Stats.LastTiming = duration
        log.debug(text.format(func=func.__name__, time=duration))
@wraps(func)
def func_wrapper(*args, **kwargs):
    t0 = time.clock()
    try:
        return func(*args, **kwargs)
    finally:
        t1 = time.clock()
        duration = ((t1 - t0) * (10 ** 6))
        Stats.LastTiming = duration
        log.debug(text.format(func=func.__name__, time=duration))