totalTimeInPrediction property

int totalTimeInPrediction

Gets the total time spent during prediction across all decisions made during parsing. This value is the sum of {@link DecisionInfo#timeInPrediction} for all decisions.

Implementation

int get totalTimeInPrediction {
  final decisions = atnSimulator.decisionInfo;
  var t = 0;
  for (var i = 0; i < decisions.length; i++) {
    t += decisions[i].timeInPrediction;
  }
  return t;
}