code: def test_benchmark(capfd):
      def add(x, y):
          return x + y
  
      benchmark(
          funcs=[add],
          args=(torch.randn(10), torch.randn(10)),
          num_steps=1,
          num_warmups=1,
          backward=True,
      )
  
      out, _ = capfd.readouterr()
      assert "| Name   | Forward   | Backward   | Total   |" in out
      assert "| add    |" in out
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_benchmark(capfd) and returns: unknown