TerminalScrollLatency class

Program-scroll latency: enqueue → first paint after echo grid/texture update.

Enable with --dart-define=TERMINAL_SCROLL_TRACE=1 or harnessEnabled in tests.

Marker When
Start markScheduleWrite — first program-scroll byte enqueue for a batch
Echo markGridOrTextureUpdated — MirrorGrid/Texture generation after PTY echo
Stop markPaintOrPresentComplete — paint/raster present for that generation

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

active bool
no setter
harnessEnabled bool
Force measurement in tests without dart-define.
getter/setter pair
pendingEchoGeneration int?
getter/setter pair
pendingStartUs int?
getter/setter pair
samples List<TerminalScrollLatencySample>
final

Static Methods

markGridOrTextureUpdated(int generation) → void
PTY echo applied: pair the next MirrorGrid / texture generation bump.
markPaintOrPresentComplete(int generation) → void
Stop: paint or raster present completed for the paired echo generation.
markScheduleWrite() → void
Start: first program-scroll byte enqueue for a gesture batch.
reset() → void