code: def hotshotit(func):
      def wrapper(*args, **kw):
          import hotshot
  
          global hotshotProfilers
          prof_name = func.__name__ + ".prof"
          profiler = hotshotProfilers.get(prof_name)
          if profiler is None:
              profiler = hotshot.Profile(prof_name)
              hotshotProfilers[prof_name] = profiler
          return profiler.runcall(func, *args, **kw)
  
      return wrapper
  
label_desc: Use image node_id 2 for calling a global function with example usage: hotshotit(func) and returns: wrapper, profiler