CoAgent8 - Source API
Preparing search index...
execution/runtime/timing
Module execution/runtime/timing
Monotonic phase timing and execution tracing runtime primitive.
Remarks
Guarantees:
Injectable monotonic clock (defaults to performance.now).
Bounded phase count and span count to prevent unbounded memory growth.
Merged overlapping and nested intervals per phase to preserve true wall time.
Idempotent span closing (closing twice does not double-count).
Strict isolation from transport and MCP layers.
Classes
PhaseTracker
Interfaces
PhaseSpanHandle
PhaseTrackerOptions
Functions
computeMergedIntervalsDuration
createPhaseTracker
References
ExecutionTrace
→
ExecutionTrace
MonotonicClock
→
MonotonicClock
PhaseSpan
→
PhaseSpan
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Classes
Phase
Tracker
Interfaces
Phase
Span
Handle
Phase
Tracker
Options
Functions
compute
Merged
Intervals
Duration
create
Phase
Tracker
References
Execution
Trace
Monotonic
Clock
Phase
Span
CoAgent8 - Source API
Loading...
Monotonic phase timing and execution tracing runtime primitive.
Remarks
Guarantees: