class_docstr: Base Profiler class to be inherited for custom profiler.
docstr: Define how to record the cost when an action is completed.
docstr_tok: ["Define","how","to","record","the","cost","when","an","action","is","completed","."]
code: def end(self, model_name: str) -> None:
      """Define how to record the cost when an action is completed."""
  
file_path: modelkit/modelkit/core/profilers/base.py
imports: import typing
  from abc import ABC, abstractmethod
  from contextlib import contextmanager
  from typing import Dict, Generator, Set
  from modelkit.core.model import AsyncModel, Model, WrappedAsyncModel
label_desc: Use image node_id 3 for calling the BaseProfiler obj's underlying member method code with example usage: obj.end(model_name) without return types