code: def __init__(self):
      self.name = None
      self.type = None
      self.start_ns = 0
      self.end_ns = 0
      self.device_id = 0
      self.stream_id = 0
      self.context_id = 0
      self.correlation_id = 0
      self.block_x, self.block_y, self.block_z = [0, 0, 0]
      self.grid_x, self.grid_y, self.grid_z = [0, 0, 0]
      self.shared_memory = 0
      self.registers_per_thread = 0
      self.num_bytes = 0
      self.value = 0
      self.occupancy = 0
      self.blocks_per_sm = 0
      self.warps_per_sm = 0
  
imports: import collections
  import functools
  import json
  import re
  import sys
  import tempfile
  from .utils import traverse_tree
label_desc: Use image node_id 1 to create a new DeviceNode object  with example: obj = DeviceNode()