code: def track_time(graph_name, num_seed_nodes, fanout):
      device = utils.get_bench_device()
      data = utils.process_data(graph_name)
      graph = data[0]
  
      # dry run
      dgl.sampling.sample_neighbors(graph, [1, 2, 3], fanout)
  
      subg_list = []
      for i in range(10):
          seed_nodes = np.random.randint(
              0, graph.num_nodes(), size=num_seed_nodes
          )
          subg = dgl.sampling.sample_neighbors(
              graph, seed_nodes, fanout
          )
          subg_list.append(subg)
  
      # timing
      with utils.Timer() as t:
          for i in range(10):
              gg = dgl.to_block(subg_list[i])
  
      return t.elapsed_secs / 10
  
imports: import time
  import dgl
  import numpy
  import torch
  from ..None import utils
label_desc: Use image node_id 1 for calling a global function with example usage: track_time(graph_name, num_seed_nodes, fanout) and returns: unknown