class_docstr: Timing a code snippet with a context manager.
class_docstr_tok: ["Timing","a","code","snippet","with","a","context","manager","."]
docstr: Get the passed time from start to now.
  
  :return: passed time
docstr_tok: ["Get","the","passed","time","from","start","to","now",".",":","return",":","passed","time"]
code: def now(self) -> float:
      """
      Get the passed time from start to now.
  
      :return: passed time
      """
      return time.perf_counter() - self.start
  
imports: import time
  import typing
  from functools import wraps
  from typing import Optional, Union, Callable
  from jina.constants import __windows__
  from jina.helper import get_readable_size, get_readable_time, colored, get_rich_console
  from rich.progress import Progress, Task, BarColumn, TimeRemainingColumn, SpinnerColumn, TimeElapsedColumn, TextColumn, ProgressColumn, TaskID
  from rich.text import Text
  from rich.table import Column
  from rich.console import Console
label_desc: Use image node_id 5 for calling the TimeContext obj's underlying member method code with example usage: obj.now() and returns: unknown