Record Timing • AI Agents Framework

record_timing: Record a timing measurement.

record_timing

Method

</div>

This is a method of the ProfilerCompat class in the profiler module.

Record a timing measurement.

Signature

python
def record_timing(name: str, duration_ms: float, category: str, file: str, line: int) -> None

Parameters

ParamField str

No description available.

ParamField float

No description available.

ParamField str

No description available.

ParamField str

No description available.

ParamField int

No description available.

Uses

  • record_timing
  • get_profiler

Used By

Source

View on GitHub

praisonai/profiler.py at line 810