class_docstr: Wrap original node for calculating statistic metrics.
class_docstr_tok: ["Wrap","original","node","for","calculating","statistic","metrics","."]
code: def __init__(self, hostnode):
      self.hostnode = hostnode
      self.children_node = []
      self.runtime_node = []
      self.cpu_time = 0
      self.self_cpu_time = 0
      self.gpu_time = 0  # kernel time
      self.self_gpu_time = 0
      self.general_gpu_time = 0  # besides kernel, include time of gpu events like memcpy and memset
      self.self_general_gpu_time = 0
      self.is_terminal_operator_node = True
  
imports: import collections
  import os
  import sys
label_desc: Use image node_id 1 to create a new HostStatisticNode object  with example: obj = HostStatisticNode(hostnode)