class_docstr: Class used for logging time metrics.
  
  This is not thread safe
class_docstr_tok: ["Class","used","for","logging","time","metrics",".","This","is","not","thread","safe"]
code: def __exit__(self, exc_type, exc_val, exc_tb):
      assert (
          self._start_time is not None
      ), "exit called with starting the context"
      time_elapsed = time.perf_counter() - self._start_time
      self._total_time += time_elapsed
      self._start_time = None
  
file_path: evadb/evadb/utils/stats.py
imports: import time
  from dataclasses import dataclass
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 3 for calling the Timer obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_val, exc_tb) without return types