memory • AI Agents Framework
memory: Context manager for profiling memory usage.
memory
Method
</div>
This is a method of the Profiler class in the profiler module.
Context manager for profiling memory usage.
Signature
def memory(name: str) -> AnyParameters
ParamField
strNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
tracemalloc.starttracemalloc.get_traced_memorytracemalloc.stopcls.record_memory
Source
View on GitHubpraisonai/profiler.py at line 574