> ## 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.

# Get Statistics • AI Agents Framework

> get_statistics: Get timing statistics.

# get\_statistics

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.

Get timing statistics.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_statistics(category: Optional[str]) -> Any
```

## Parameters

**category** `Optional[str]`

No description available.

### Returns

**Returns** `Any`

The result of the operation.

## Uses

* `get_statistics`
* `get_profiler`

## Used By

* [`ProfilerCompat.get_statistics`](../functions/ProfilerCompat-get_statistics)

## Source

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


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