code: def time_this(function) -> Callable:
      @wraps(function)
      def time_wrapper(*args, **kwargs):
          start = time.time()
          r = function(*args, **kwargs)
          end = time.time()
  
          total_time = end - start
          print(function.__name__, total_time)
  
          return r
  
      return time_wrapper
  
file_path: labml/app/server/labml_app/utils/__init__.py
imports: import time
  from typing import Callable, List
  from uuid import uuid4
  from functools import wraps
label_desc: Use image node_id 3 for calling a global function with example usage: time_this(function) and returns: time_wrapper, r