class_docstr: Class to collect timing tasks.
class_docstr_tok: ["Class","to","collect","timing","tasks","."]
docstr: Get the currently elapsed wall time for a task
docstr_tok: ["Get","the","currently","elapsed","wall","time","for","a","task"]
code: def wall_elapsed(self, name: str) -> float:
      """Get the currently elapsed wall time for a task"""
      if name not in self.tasks:
          return 0.0
  
      task = self.tasks[name]
      if task.wall_start is None:
          return 0.0
  
      if task.wall_duration is not None:
          return task.wall_duration
      else:
          return time.time() - task.wall_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 11 for calling the StopWatch obj's underlying member method code with example usage: obj.wall_elapsed(name) and returns: int, int, task, unknown