DecisionInfo.timeInPrediction

The total time spent in {@link ParserATNSimulator#adaptivePredict} for this decision, in nanoseconds.

<p> The value of this field contains the sum of differential results obtained by {@link System#nanoTime()}, and is not adjusted to compensate for JIT and/or garbage collection overhead. For best accuracy, use a modern JVM implementation that provides precise results from {@link System#nanoTime()}, and perform profiling in a separate process which is warmed up by parsing the input prior to profiling. If desired, call {@link ATNSimulator#clearDFA} to reset the DFA cache to its initial state before starting the profiling measurement pass.</p>

class DecisionInfo
long timeInPrediction;

Meta