class_docstr: Measures ellapsed time, calling `torch.cuda.synchronize` if necessary.
  `Chrono` instances can be used as context managers (e.g. with `with`).
  Upon exit of the block, you can access the duration of the block in seconds
  with the `duration` attribute.
  
  >>> with Chrono() as chrono:
  ...     _ = sum(range(10_000))
  ...
  >>> print(chrono.duration < 10)  # Should be true unless on a really slow computer.
  True
code: def __init__(self):
      self.duration = None
  
file_path: julius/julius/utils.py
imports: import inspect
  import typing
  import sys
  import time
label_desc: Use image node_id 1 to create a new Chrono object  with example: obj = Chrono()