code: def profile(self, text: str) -> None:
      if self.training_config.logger_level != "debug":
          return
      logging.debug(
          f"tid={threading.current_thread().ident}, {text}: {self.profiler.get_time_since_start()}"
      )
      self.profiler.reset()
  
imports: import logging
  import threading
  from abc import ABC
  from typing import Type
  from mmf.utils.timer import Timer
label_desc: Use image node_id 1 for calling the TrainerProfilingMixin obj's underlying member method code with example usage: obj.profile(text) without return types