code: def time_me(func):
      """Timing decorator for wrapping a function"""
  
      def timed(*args, **kw):
          """Wrapping function"""
          time_start = time.time()
          result = func(*args, **kw)
          time_end = time.time()
  
          message = "(module) {} (method) {} (time): {:>.4f}ms".format(
              func.__module__,
              func.__name__,
              (time_end - time_start) * 1000,
          )
  
          LOGGER.debug(message)
  
          return result
  
      return timed
  
file_path: streamalert/streamalert/shared/stats.py
imports: from collections import defaultdict
  import time
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 for calling a global function with example usage: time_me(func) and returns: timed, result