Record Memory • AI Agents Framework
record_memory: Record memory usage.
record_memory
Method
</div>
This is a method of the Profiler class in the profiler module.
Record memory usage.
Signature
def record_memory(name: str, current_kb: float, peak_kb: float) -> NoneParameters
ParamField
strNo description available.
ParamField
floatNo description available.
ParamField
floatNo description available.
Uses
cls.is_enabledMemoryRecord
Used By
Source
View on GitHubpraisonai/profiler.py at line 554