code: def timed(name):
      """
      For timing blocks of code.
  
      Examples
      --------
  
      >>> with timed("Print Call"):
      ...     print("Hello, World") # doctest: +SKIP
      Hello, World
      ..Print Call              :    0.0005
  
      """
      t0 = time.time()
      yield
      t1 = time.time()
      print("..%-24s:  %8.4f" % (name, t1 - t0))
  
label_desc: Use image node_id 1 for calling a global function with example usage: timed(name) without return types