Get Flamegraph Data • AI Agents Framework
get_flamegraph_data: Generate flamegraph-compatible data from flow records.
get_flamegraph_data
Method
</div>
This is a method of the Profiler class in the profiler module.
Generate flamegraph-compatible data from flow records.
Returns list of {name, value, children} for flamegraph visualization.
Signature
def get_flamegraph_data() -> List[Dict[str, Any]]Returns
ResponseField
List[Dict[str, Any]]The result of the operation.
Used By
Source
View on GitHubpraisonai/profiler.py at line 698