markScheduleWrite static method

void markScheduleWrite()

Start: first program-scroll byte enqueue for a gesture batch.

Implementation

static void markScheduleWrite() {
  if (!active) return;
  // Coalesce: only the first enqueue of an in-flight measurement counts.
  if (pendingStartUs != null) return;
  pendingStartUs = _nowUs();
  pendingEchoGeneration = null;
  TerminalScrollTrace.log('latency', 'start us=$pendingStartUs');
}