resetCaptureState method

void resetCaptureState()

Clears the frame leg, the VM leg and any raster_dominance issue at the start of a capture scenario, so dominant frames from before the scenario cannot join its first record. expensive_gpu_nodes stays until the next scan. Called by SleuthController.resetCaptureState, which runs only in capture mode.

Implementation

void resetCaptureState() {
  _resetFrameLeg();
  _clearVmLeg();
  _issues.removeWhere((i) => i.stableId == 'raster_dominance');
}