Memory Snapshot • AI Agents Framework
memory_snapshot: Take a memory snapshot.
memory_snapshot
Method
</div>
This is a method of the Profiler class in the profiler module.
Take a memory snapshot.
Signature
def memory_snapshot() -> Dict[str, float]Returns
ResponseField
Dict[str, float]The result of the operation.
Uses
tracemalloc.starttracemalloc.get_traced_memorytracemalloc.stop
Source
View on GitHubpraisonai/profiler.py at line 585