Class ExecutionTimeline
Records a timeline of operations within a single turn for the /trace command.
Thread-safe for concurrent tool invocations.
public sealed class ExecutionTimeline
- Inheritance
-
ExecutionTimeline
- Inherited Members
Properties
Entries
All recorded entries, ordered by start time.
public IReadOnlyList<TimelineEntry> Entries { get; }
Property Value
TotalDuration
Total wall-clock duration of all entries.
public TimeSpan TotalDuration { get; }
Property Value
Methods
BeginOperation(string, string?, Dictionary<string, string>?)
Begins recording an operation and returns a handle to complete it.
public TimelineEntry BeginOperation(string operation, string? parentSpanId = null, Dictionary<string, string>? attributes = null)
Parameters
operationstringparentSpanIdstringattributesDictionary<string, string>