class_docstr: If you wish to write a custom profiler, you should inherit from this class.
docstr: Defines how to record the duration once an action is complete.
docstr_tok: ["Defines","how","to","record","the","duration","once","an","action","is","complete","."]
code: def stop(self, action_name: str) -> None:
      """Defines how to record the duration once an action is complete."""
  
imports: import logging
  import os
  from abc import ABC, abstractmethod
  from contextlib import contextmanager
  from pathlib import Path
  from typing import Any, Callable, Dict, Generator, Optional, TextIO, Union
  from lightning.fabric.utilities.cloud_io import get_filesystem
label_desc: Use image node_id 3 for calling the Profiler obj's underlying member method code with example usage: obj.stop(action_name) without return types