> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Line Profile Data • AI Agents Framework

> set_line_profile_data: Store line-level profiling output.

# set\_line\_profile\_data

Method

> This is a method of the [**ProfilerCompat**](https://praison.ai/docs/sdk/reference/praisonai/classes/ProfilerCompat.md) class in the [**profiler**](https://praison.ai/docs/sdk/reference/praisonai/modules/profiler.md) module.

Store line-level profiling output.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def set_line_profile_data(name: str, data: Any) -> None
```

## Parameters

**name** `str` *required*

No description available.

**data** `Any` *required*

No description available.

## Uses

* `set_line_profile_data`
* `get_profiler`

## Used By

* [`ProfilerCompat.set_line_profile_data`](../functions/ProfilerCompat-set_line_profile_data)
* [`profile_lines`](../functions/profile_lines)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L914)
>
> `praisonai/profiler.py` at line 914

***

## Related Documentation

> [card] [Agent Profiles](https://praison.ai/docs/docs/features/agent-profiles)

> [card] [Profiling](https://praison.ai/docs/docs/features/profiling)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.