code: def __init__(self):
      self.timelist = []
      self._frequency = _ANALYSE_GPU_STATUS_INTERVAL
      self._warning_threshold = _GPU_SLOWING_WARNING_THRESHOLD
      self._error_threshold = _GPU_SLOWING_ERROR_THRESHOLD
  
imports: import os
  import re
  import timeit
  from contextlib import contextmanager
  import nnabla
  import nnabla.utils.callback
  import numpy
  from nnabla.config import nnabla_config
  from nnabla.logger import logger
  from nnabla.utils import nnabla_pb2
  from nnabla.utils.communicator_util import current_communicator
  from nnabla.utils.get_file_handle import get_file_handle_save, get_decorated_file_loader, load_files
  from contextlib import contextmanager
  import nnabla.logger
  from nnabla.lms import SwapInOutScheduler
label_desc: Use image node_id 1 to create a new NodeTimeInfoCollector object  with example: obj = NodeTimeInfoCollector()