code: def _timed(_logger=None, level="info"):
      """
      Output execution time of a function to the given logger level
  
      level : str
          On which level to log the performance measurement
      Returns
      -------
      fun_wrapper : Callable
      """
  
      def fun_wrapper(f):
          @functools.wraps(f)
          def wraps(*args, **kwargs):
              with _timer(f.__name__, _logger=logger, level=level):
                  results = f(*args, **kwargs)
              return results
  
          return wraps
  
      return fun_wrapper
  
imports: import contextlib
  import datetime
  import functools
  import logging
  import warnings
  from collections.abc import Sequence
  from multiprocessing import cpu_count
  from numbers import Integral
  from timeit import default_timer
  import dask
  import dask.array
  import dask.dataframe
  import numpy
  import pandas
  import sklearn.utils.extmath
  import sklearn.utils.validation
  from dask import delayed
  from dask.array.utils import assert_eq
  from dask.dataframe.utils import assert_eq
  from ._utils import ConstantFunction
label_desc: Use image node_id 19 for calling a global function with example usage: _timed(_logger, level) and returns: fun_wrapper, wraps, results