class_docstr: Class to collect timing tasks.
class_docstr_tok: ["Class","to","collect","timing","tasks","."]
code: def __init__(self) -> None:
      self.tasks = {"_stopwatch_": TimingTask("_stopwatch_")}
      self.tasks["_stopwatch_"].start()
  
imports: from __future__ import annotations
  from typing import Iterator, Mapping, Optional, Tuple
  import sys
  import time
  from contextlib import contextmanager
  from itertools import repeat
  from typing_extensions import Literal
label_desc: Use image node_id 1 to create a new StopWatch object from inherited base classes: Mapping with example: obj = StopWatch()