parameters: (func)
return_statement: return inner
docstring: 精确统计函数运行时间的装饰器
docstring_summary: 精确统计函数运行时间的装饰器
docstring_tokens: 精确统计函数运行时间的装饰器
function: def count_func_timeit(func):
      """精确统计函数运行时间的装饰器"""
      def inner(*args, **kwargs):
          start = time.perf_counter()
          res = func(*args, **kwargs)
          print("function: {} -- cost time".format(func.__name__), time.perf_counter() - start)
          return res
      return inner
function_tokens: def count_func_timeit ( func ) : def inner ( * args , * * kwargs ) : start = time . perf_counter ( ) res = func ( * args , * * kwargs ) print ( "function: {} -- cost time" . format ( func . __name__ ) , time . perf_counter ( ) - start ) return res return inner