class_docstr: An activity tracer.
code: def log(self, name: str, info: Any, sync_func: Callable = None):
      if sync_func:
          sync_func()
  
      self.events.append(Event(time.perf_counter(), name, info))
  
file_path: H2O/h2o_flexgen/flexgen/timer.py
imports: from collections import namedtuple
  import time
  from typing import Callable, Any
label_desc: Use image node_id 2 for calling the Tracer obj's underlying member method code with example usage: obj.log(name, info, sync_func) without return types