class_docstr: This is the portion of the `timeit.Timer` API used by benchmark utils.
code: def __init__(
      self,
      stmt: str,
      setup: str,
      timer: Callable[[], float],
      globals: Dict[str, Any],
      **kwargs: Any,
  ) -> None:
      ...
  
file_path: pytorch/torch/utils/benchmark/utils/_stubs.py
imports: from typing import Any, Callable, Dict, Protocol, runtime_checkable
label_desc: Use image node_id 1 to create a new TimerClass object from inherited base classes: Protocol with example: obj = TimerClass(stmt, setup, timer, globals)